Browse Source

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.
Andrey Helldar 6 years ago
parent
commit
bf59cd3ce1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/.htaccess

+ 1 - 1
public/.htaccess

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