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> <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