Guest User

Untitled

a guest
Apr 19th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1.  
  2. <VirtualHost *:80>
  3. ServerAdmin webmaster@localhost
  4. ServerName assets0.sbndev.net
  5. ServerAlias assets1.sbndev.net assets2.sbndev.net assets3.sbndev.net
  6. DocumentRoot /home/sbn/current/public/
  7. <Directory /home/sbn/current/public>
  8. Options Indexes FollowSymLinks MultiViews
  9. AllowOverride None
  10. Order allow,deny
  11. allow from all
  12. </Directory>
  13.  
  14. AddOutputFilterByType DEFLATE text/html text/plain text/xml
  15. AddOutputFilterByType DEFLATE text/css
  16. AddOutputFilterByType DEFLATE application/x-javascript
  17.  
  18. # far future expires header!
  19. ExpiresDefault "access plus 10 years"
  20.  
  21. # ignore the version placed by rails in order to make the
  22. # far future header work; rewrite to the actual file name
  23. RewriteRule ^/(.*\.(css|js|gif|png|jpg))\.v\d+$ /$1
  24.  
  25. # add the P3P compact privacy policy. bugzID 1030.
  26. Header always set P3P "CP=\"CAO DSP COR CURa ADMa DEVa PSAa PSDa CONi OUR IND PHY ONL UNI COM NAV INT CNT STA\""
  27.  
  28. ErrorLog /var/log/apache2/error.log
  29.  
  30. # Possible values include: debug, info, notice, warn, error, crit,
  31. # alert, emerg.
  32. LogLevel warn
  33.  
  34. CustomLog /var/log/apache2/access.log combined
  35. ServerSignature On
  36. </VirtualHost>
Add Comment
Please, Sign In to add comment