summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-29 00:06:46 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-29 00:06:46 +0200
commit913f68b91f16bd364d9709c85ac120f061913087 (patch)
treee5b7aec44dfc532e4c759b8c0d56c90d3771dd86 /.htaccess
parenta3b0a94e697ed4478cde8de2fb22e9545dc41c8e (diff)
downloadbugzilla-913f68b91f16bd364d9709c85ac120f061913087.tar.gz
bugzilla-913f68b91f16bd364d9709c85ac120f061913087.tar.xz
Bug 785511: Prevent directory browsing, especially in docs/ and extensions/
r=dkl a=LpSolit
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 4b06fe9a9..27f478afd 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,6 +2,9 @@
<FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$>
deny from all
</FilesMatch>
+
+Options -Indexes
+
<IfModule mod_expires.c>
<IfModule mod_headers.c>
<IfModule mod_env.c>