Advertisement
Guest User

.

a guest
Mar 6th, 2015
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. options -multiviews
  2. options -indexes
  3.  
  4. <IfModule mod_rewrite.c>
  5.    RewriteEngine on
  6.    RewriteBase /
  7.    RewriteRule ^analyze?$ analyze.php?%{QUERY_STRING}
  8.    RewriteRule ^terms-of-service?$ terms-of-service.php?%{QUERY_STRING}
  9.    RewriteRule ^privacy-policy?$ privacy-policy.php?%{QUERY_STRING}
  10. </IfModule>
  11.  
  12. <IfModule mod_security.c>
  13.    SecFilterEngine off
  14.    SecFilterScanPOST off
  15. </IfModule>
  16.  
  17. <IfModule mod_headers.c>
  18.    <FilesMatch "\.(gif|jpe?g|png|ico|css|js|xml|swf)$">
  19.       Header set Cache-Control "max-age=604800, public"
  20.    </FilesMatch>
  21.    <FilesMatch "\.(js|css|xml|gz)$">
  22.       Header append Vary: Accept-Encoding
  23.    </FilesMatch>
  24. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement