fixed #396
This commit is contained in:
parent
4a8b0ada40
commit
d4b9ebd06a
10
.htaccess
10
.htaccess
@ -1,18 +1,14 @@
|
|||||||
# No directory listings
|
# Prevent Directory Listing
|
||||||
<IfModule autoindex>
|
<IfModule autoindex>
|
||||||
IndexIgnore *
|
IndexIgnore *
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
|
# Prevent Directory Listing
|
||||||
<IfModule mod_negotiation.c>
|
<IfModule mod_negotiation.c>
|
||||||
Options -MultiViews
|
Options -MultiViews -Indexes
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
Options +FollowSymlinks
|
|
||||||
|
|
||||||
# Prevent Directory listing
|
|
||||||
Options -Indexes
|
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
# Prevent Direct Access to Protected Files
|
# Prevent Direct Access to Protected Files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user