Update .htaccess
This commit is contained in:
parent
fb0d9a72ac
commit
beb6d95940
|
@ -1,5 +1,5 @@
|
||||||
<IfModule dir_module>
|
<IfModule dir_module>
|
||||||
DirectoryIndex index.php index.html
|
DirectoryIndex index.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
AddDefaultCharset UTF-8
|
AddDefaultCharset UTF-8
|
||||||
AddCharset UTF-8 .html
|
AddCharset UTF-8 .html
|
||||||
|
@ -8,9 +8,9 @@ AddCharset UTF-8 .html
|
||||||
Header unset ETag
|
Header unset ETag
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
Header always set X-Content-Type-Options "nosniff"
|
Header always set X-Content-Type-Options "nosniff"
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{REQUEST_URI} !^/index\.html$
|
RewriteCond %{REQUEST_URI} !^/index\.html$
|
||||||
RewriteCond %{REQUEST_URI} !^/apacheerror/
|
RewriteCond %{REQUEST_URI} !^/apacheerror/
|
||||||
RewriteCond %{REQUEST_URI} !^/apacheicons/
|
RewriteCond %{REQUEST_URI} !^/apacheicons/
|
||||||
|
|
Loading…
Reference in a new issue