This commit is contained in:
denisdulici 2018-06-29 18:48:10 +03:00
parent 4a8b0ada40
commit d4b9ebd06a

View File

@ -1,18 +1,14 @@
# No directory listings
# Prevent Directory Listing
<IfModule autoindex>
IndexIgnore *
</IfModule>
<IfModule mod_rewrite.c>
# Prevent Directory Listing
<IfModule mod_negotiation.c>
Options -MultiViews
Options -MultiViews -Indexes
</IfModule>
Options +FollowSymlinks
# Prevent Directory listing
Options -Indexes
RewriteEngine On
# Prevent Direct Access to Protected Files