Created
July 25, 2012 18:36
-
-
Save brucecrevensten/3177782 to your computer and use it in GitHub Desktop.
snap apache conf
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
snap: | |
<VirtualHost *:80> | |
Redirect permanent / http://www.snap.uaf.edu | |
ServerName snap.uaf.edu | |
</VirtualHost> | |
www.snap: | |
<VirtualHost *:80> | |
Redirect /home http://www.snap.uaf.edu | |
ServerAdmin webmaster@dev.www.snap.uaf.edu | |
DocumentRoot /var/www/snap/ | |
ServerName www.snap.uaf.edu | |
#### ServerAlias snap.uaf.edu | |
ErrorLog /var/log/httpd/www.snap.uaf.edu-error_log | |
TransferLog /var/log/httpd/www.snap.uaf.edu-access_log | |
SetOutputFilter DEFLATE | |
SetEnvIfNoCase Request_URI \ | |
\.(?:gif|jpe?g|png)$ no-gzip dont-vary | |
ServerSignature Off | |
Options FollowSymLinks | |
ErrorDocument 404 /error_404.php | |
ExpiresDefault now | |
</VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment