[5.4] Added "-Indexes" option

If you open the /css, /js, or any other folder on the default server, you can see the list of files in the directory.
The -Indexes option forbids viewing directory files via the web interface.

(#4422 for 5.5 branch)
This commit is contained in:
Andrey Helldar 2017-11-21 11:46:48 +03:00 committed by GitHub
parent bc91dcab93
commit 01f4eda5b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On