Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # php -- BEGIN cPanel-generated handler, do not edit
- # Set the “ea-php70” package as the default “PHP” programming language.
- <IfModule mime_module>
- AddHandler application/x-httpd-ea-php70 .php .php7 .phtml
- </IfModule>
- # php -- END cPanel-generated handler, do not edit
- RewriteEngine on
- RewriteCond %{HTTPS} off
- RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
- <IfModule mod_headers.c>
- Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS
- Header set X-XSS-Protection "1; mode=block"
- Header set X-Content-Type-Options nosniff
- </IfModule>
- <IfModule mod_security.c>
- SecFilterScanPOST Off
- </IfModule>
- ## EXPIRES CACHING ##
- <IfModule mod_expires.c>
- ExpiresActive On
- ExpiresByType image/jpg "access plus 1 year"
- ExpiresByType image/jpeg "access plus 1 year"
- ExpiresByType image/gif "access plus 1 year"
- ExpiresByType image/png "access plus 1 year"
- ExpiresByType text/css "access plus 1 month"
- ExpiresByType application/pdf "access plus 1 month"
- ExpiresByType text/x-javascript "access plus 1 month"
- ExpiresByType application/x-shockwave-flash "access plus 1 month"
- ExpiresByType image/x-icon "access plus 1 year"
- ExpiresDefault "access plus 2 days"
- </IfModule>
- ## EXPIRES CACHING ##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement