Created
March 19, 2014 16:11
-
-
Save akinsgre/9645179 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Virtualhost *:80> | |
ServerName test.gaiconsultants.com | |
ServerAlias dev-test.gaiconsultants.com | |
ServerAlias test-test.gaiconsultants.com | |
DocumentRoot /var/www/test/public/ | |
#UseCanonicalName Off | |
RailsEnv production | |
<Directory /var/www/test/public> | |
# Options ExecCGI FollowSymLinks | |
AllowOverride All | |
# Order allow,deny | |
Allow from all | |
Options -MultiViews -Indexes | |
</Directory> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteLog "/var/log/apache2/rewrite.log" | |
RewriteRule ^/autodiscover/autodiscover\.xml$ - [R=404,L] | |
</IfModule> | |
</Virtualhost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Virtualhost *:443> | |
ServerName test.gaiconsultants.com:443 | |
ServerAlias dev-test.gaiconsultants.com | |
DocumentRoot /var/www/test/public/ | |
UseCanonicalName Off | |
SSLEngine On | |
SSLCertificateKeyFile /etc/apache2/ssl/gai_wildcard_private_key.pem | |
SSLCertificateFile /etc/apache2/ssl/gaiconsultants.com.crt | |
SSLCertificateChainFile /etc/apache2/ssl/gd_bundle.crt | |
RailsEnv development | |
<Directory /var/www/test/public> | |
Options ExecCGI FollowSymLinks | |
AllowOverride all | |
Order allow,deny | |
Allow from all | |
#Options -MultiViews -Indexes | |
</Directory> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteLog "/var/log/apache2/rewrite.log" | |
RewriteRule ^/autodiscover/autodiscover\.xml$ - [R=404,L] | |
</IfModule> | |
</Virtualhost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment