Advertisement
Guest User

Untitled

a guest
May 24th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1.  
  2. # php -- BEGIN cPanel-generated handler, do not edit
  3. # Set the “ea-php70” package as the default “PHP” programming language.
  4. <IfModule mime_module>
  5. AddHandler application/x-httpd-ea-php70 .php .php7 .phtml
  6. </IfModule>
  7. # php -- END cPanel-generated handler, do not edit
  8. RewriteEngine on
  9. RewriteCond %{HTTPS} off
  10. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  11.  
  12. <IfModule mod_headers.c>
  13. Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS
  14. Header set X-XSS-Protection "1; mode=block"
  15. Header set X-Content-Type-Options nosniff
  16. </IfModule>
  17.  
  18. <IfModule mod_security.c>
  19. SecFilterScanPOST Off
  20. </IfModule>
  21. ## EXPIRES CACHING ##
  22. <IfModule mod_expires.c>
  23. ExpiresActive On
  24. ExpiresByType image/jpg "access plus 1 year"
  25. ExpiresByType image/jpeg "access plus 1 year"
  26. ExpiresByType image/gif "access plus 1 year"
  27. ExpiresByType image/png "access plus 1 year"
  28. ExpiresByType text/css "access plus 1 month"
  29. ExpiresByType application/pdf "access plus 1 month"
  30. ExpiresByType text/x-javascript "access plus 1 month"
  31. ExpiresByType application/x-shockwave-flash "access plus 1 month"
  32. ExpiresByType image/x-icon "access plus 1 year"
  33. ExpiresDefault "access plus 2 days"
  34. </IfModule>
  35.  
  36. ## EXPIRES CACHING ##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement