Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- ServerName assets0.sbndev.net
- ServerAlias assets1.sbndev.net assets2.sbndev.net assets3.sbndev.net
- DocumentRoot /home/sbn/current/public/
- <Directory /home/sbn/current/public>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
- AddOutputFilterByType DEFLATE text/html text/plain text/xml
- AddOutputFilterByType DEFLATE text/css
- AddOutputFilterByType DEFLATE application/x-javascript
- # far future expires header!
- ExpiresDefault "access plus 10 years"
- # ignore the version placed by rails in order to make the
- # far future header work; rewrite to the actual file name
- RewriteRule ^/(.*\.(css|js|gif|png|jpg))\.v\d+$ /$1
- # add the P3P compact privacy policy. bugzID 1030.
- Header always set P3P "CP=\"CAO DSP COR CURa ADMa DEVa PSAa PSDa CONi OUR IND PHY ONL UNI COM NAV INT CNT STA\""
- ErrorLog /var/log/apache2/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- ServerSignature On
- </VirtualHost>
Add Comment
Please, Sign In to add comment