aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-24 00:52:35 -0400
committerMike Frysinger <vapier@gentoo.org>2016-02-25 04:05:14 +0900
commitc66e0a73bc8ef5f8f81d28ce74a4729ec3135cbc (patch)
tree6a9329b95a58a5fcfc451020ed57dc9be9a44864
parentresolutions: tweaked VERIFIED desc to permit users (diff)
downloadbugzilla-c66e0a73bc8ef5f8f81d28ce74a4729ec3135cbc.tar.gz
bugzilla-c66e0a73bc8ef5f8f81d28ce74a4729ec3135cbc.tar.bz2
bugzilla-c66e0a73bc8ef5f8f81d28ce74a4729ec3135cbc.zip
htaccess: fix apache-2.4 support
-rw-r--r--.htaccess15
1 files changed, 13 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 6d47416c7..229d7385a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -44,6 +44,17 @@ Options -Indexes
</IfModule>
<FilesMatch ^custom_buglist.cgi$>
- allow from 127.0.0.1 94.100.119.160/28
- deny from all
+ <IfModule mod_version.c>
+ <IfVersion < 2.4>
+ Allow from localhost 94.100.119.160/28
+ Deny from all
+ </IfVersion>
+ <IfVersion >= 2.4>
+ Require host localhost 94.100.119.160/28
+ </IfVersion>
+ </IfModule>
+ <IfModule !mod_version.c>
+ Allow from localhost 94.100.119.160/28
+ Deny from all
+ </IfModule>
</FilesMatch>