From 01f4eda5b1ea420af749db7f86d8f740bbcf3a2f Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Tue, 21 Nov 2017 11:46:48 +0300 Subject: [PATCH] [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) --- public/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/.htaccess b/public/.htaccess index 903f6392c..6c7a84762 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,6 +1,6 @@ - Options -MultiViews + Options -MultiViews -Indexes RewriteEngine On