Create .htaccess
This commit is contained in:
parent
a8d1086374
commit
32a23a3e20
20
system/public_html/default/.htaccess
Normal file
20
system/public_html/default/.htaccess
Normal file
|
@ -0,0 +1,20 @@
|
|||
<IfModule dir_module>
|
||||
DirectoryIndex index.php index.html
|
||||
</IfModule>
|
||||
AddDefaultCharset UTF-8
|
||||
AddCharset UTF-8 .html
|
||||
<FilesMatch "\.(html)$">
|
||||
Header set Cache-Control: "no-cache, no-store"
|
||||
Header unset ETag
|
||||
</FilesMatch>
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{REQUEST_URI} !^/index\.html$
|
||||
RewriteCond %{REQUEST_URI} !^/apacheerror/
|
||||
RewriteCond %{REQUEST_URI} !^/apacheicons/
|
||||
RewriteCond %{REQUEST_URI} !^/server-status$
|
||||
RewriteCond %{REQUEST_URI} !^/server-info$
|
||||
RewriteCond %{REQUEST_URI} !^/watch-table$
|
||||
RewriteRule . /index.html [L]
|
Loading…
Reference in a new issue