Skip to content

Commit 01f4eda

Browse files
author
Andrey Helldar
authored
[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. (laravel#4422 for 5.5 branch)
1 parent bc91dca commit 01f4eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<IfModule mod_rewrite.c>
22
<IfModule mod_negotiation.c>
3-
Options -MultiViews
3+
Options -MultiViews -Indexes
44
</IfModule>
55

66
RewriteEngine On

0 commit comments

Comments
 (0)