summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorJochen Wiedmann <jochen.wiedmann@gmail.com>2015-02-02 17:37:38 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-02-02 17:37:38 +0100
commit64250f2a4ef73d8b2686d275dc39aee4d389b0e6 (patch)
tree175782cc9d29b6bec36204215cfebd821c13467b /.htaccess
parent98fe072336b3cd8a2b6fc64a8a2d0183d8448a92 (diff)
downloadbugzilla-64250f2a4ef73d8b2686d275dc39aee4d389b0e6.tar.gz
bugzilla-64250f2a4ef73d8b2686d275dc39aee4d389b0e6.tar.xz
Bug 1121477: Support for Apache HTTPD 2.4
r=dkl,a=glob
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess12
1 files changed, 11 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 7ef20d8b6..14325d152 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,6 +1,16 @@
# Don't allow people to retrieve non-cgi executable files or our private data
<FilesMatch (\.pm|\.pl|\.tmpl|localconfig.*)$>
- deny from all
+ <IfModule mod_version.c>
+ <IfVersion <= 2.2>
+ Deny from all
+ </IfVersion>
+ <IfVersion > 2.2>
+ Require all denied
+ </IfVersion>
+ </IfModule>
+ <IfModule !mod_version.c>
+ Deny from all
+ </IfModule>
</FilesMatch>
Options -Indexes