Created
May 26, 2010 12:40
-
-
Save cherring/414419 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 *> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^www.christas\-art\.com$ [NC] | |
RewriteRule ^(.*)$ http://christas-art.com/$1 [R=301,L] | |
ServerName christas-art.com | |
DocumentRoot /u/apps/art_production/current/public | |
RailsEnv production | |
<Directory "/u/apps/art_production/current/public"> | |
Options Indexes +ExecCGI FollowSymLinks | |
Order allow,deny | |
Allow from all | |
</Directory> | |
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript | |
BrowserMatch ^Mozilla/4 gzip-only-text/html | |
BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
ExpiresActive On | |
ExpiresByType image/png "now plus 365 days" | |
ExpiresByType image/jpeg "now plus 365 days" | |
ExpiresByType image/gif "now plus 365 days" | |
ExpiresByType application/javascript "now plus 365 days" | |
ExpiresByType application/x-javascript "now plus 365 days" | |
ExpiresByType text/javascript "now plus 365 days" | |
ExpiresByType text/css "now plus 365 days" | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment