Roman3349/MC_CMS/master/.htaccess
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(css|js|icon|zip|rar|png|jpg|gif|pdf)$ index.php [L]
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
<FilesMatch ".(htm|html|php|phtml)$">
<IfModule mod_headers.c>
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
</IfModule>
</FilesMatch>
<IfModule mod_headers.c>
Header set X-Frame-Options DENY
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options: nosniff
</IfModule>
<IfModule php5_module>
php_flag session.cookie_httponly on
</IfModule>
On Github License
Files