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.
This commit is contained in:
Andrey Helldar 2017-09-18 20:42:11 +03:00 committed by GitHub
parent b96b152998
commit bf59cd3ce1
1 changed files with 1 additions and 1 deletions

View File

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