htaccess, dir slashes

This commit is contained in:
Dro1d.Ru 2019-01-06 00:06:53 +05:00
parent b0b296f8ed
commit 71f5b11a96
5 changed files with 15 additions and 1 deletions

3
dash/.htaccess Normal file
View file

@ -0,0 +1,3 @@
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>

3
featured/.htaccess Normal file
View file

@ -0,0 +1,3 @@
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>

3
forum/.htaccess Normal file
View file

@ -0,0 +1,3 @@
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>

View file

@ -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
View file

@ -0,0 +1,3 @@
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>