Skip to content

Instantly share code, notes, and snippets.

@phuesler
Created July 7, 2009 16:52
Show Gist options
  • Save phuesler/142208 to your computer and use it in GitHub Desktop.
Save phuesler/142208 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName cootweet_p.local
DocumentRoot "/Users/joe/work/cootweet/public"
RailsEnv production
RailsAllowModRewrite off
ExpiresActive on
<directory "/Users/joe/work/cootweet/public">
Options -Indexes
Order allow,deny
Allow from all
AddOutputFilterbyType DEFLATE text/html
</directory>
<FilesMatch "\.(js|css|gif|png|jpg)$">
ExpiresDefault "access plus 2 year"
SetOutputFilter Deflate
</FilesMatch>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment