htaccess, dir slashes
This commit is contained in:
parent
b0b296f8ed
commit
71f5b11a96
3
dash/.htaccess
Normal file
3
dash/.htaccess
Normal file
|
@ -0,0 +1,3 @@
|
|||
<IfModule mod_dir.c>
|
||||
DirectorySlash Off
|
||||
</IfModule>
|
3
featured/.htaccess
Normal file
3
featured/.htaccess
Normal file
|
@ -0,0 +1,3 @@
|
|||
<IfModule mod_dir.c>
|
||||
DirectorySlash Off
|
||||
</IfModule>
|
3
forum/.htaccess
Normal file
3
forum/.htaccess
Normal file
|
@ -0,0 +1,3 @@
|
|||
<IfModule mod_dir.c>
|
||||
DirectorySlash Off
|
||||
</IfModule>
|
|
@ -16,6 +16,8 @@ ErrorDocument 403 /403.html
|
|||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
#RewriteBase /
|
||||
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
#RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
||||
|
||||
RewriteRule ^(?:cache|log)\b.* - [R=403,L]
|
||||
|
||||
|
@ -48,4 +50,4 @@ ExpiresByType text/x-javascript "access 1 month"
|
|||
ExpiresByType application/x-shockwave-flash "access 1 month"
|
||||
ExpiresByType image/x-icon "access 1 year"
|
||||
ExpiresDefault "access 1 month"
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
|
3
zira/.htaccess
Normal file
3
zira/.htaccess
Normal file
|
@ -0,0 +1,3 @@
|
|||
<IfModule mod_dir.c>
|
||||
DirectorySlash Off
|
||||
</IfModule>
|
Loading…
Reference in a new issue