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