diff options
author | Jochen Wiedmann <jochen.wiedmann@gmail.com> | 2015-02-02 17:37:38 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-02-02 17:37:38 +0100 |
commit | 64250f2a4ef73d8b2686d275dc39aee4d389b0e6 (patch) | |
tree | 175782cc9d29b6bec36204215cfebd821c13467b /.htaccess | |
parent | 98fe072336b3cd8a2b6fc64a8a2d0183d8448a92 (diff) | |
download | bugzilla-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-- | .htaccess | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |