aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Filesystem.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-03-11 18:22:05 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-03-11 18:22:05 +0100
commit91e07807a8940776557a86134546bc4a7997cd0a (patch)
treecb14ac01ecfd4170b6072c5fcc7757858681e772 /Bugzilla/Install/Filesystem.pm
parent154e70f32a2fe34cbeed80fbe1339a0b2657cfca (diff)
downloadbugs-91e07807a8940776557a86134546bc4a7997cd0a.tar
bugs-91e07807a8940776557a86134546bc4a7997cd0a.tar.gz
bugs-91e07807a8940776557a86134546bc4a7997cd0a.tar.bz2
bugs-91e07807a8940776557a86134546bc4a7997cd0a.tar.xz
bugs-91e07807a8940776557a86134546bc4a7997cd0a.zip
Bug 1138463: mod_perl does not support Apache 2.4 directives
r=dkl a=glob
Diffstat (limited to 'Bugzilla/Install/Filesystem.pm')
-rw-r--r--Bugzilla/Install/Filesystem.pm59
1 files changed, 50 insertions, 9 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index 4f133d865..cf0a5b0ca 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -52,7 +52,12 @@ use constant HT_DEFAULT_DENY => <<EOT;
Deny from all
</IfVersion>
<IfVersion >= 2.4>
- Require all denied
+ <IfModule mod_perl.c>
+ Deny from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all denied
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -354,7 +359,12 @@ EOT
Allow from all
</IfVersion>
<IfVersion >= 2.4>
- Require all granted
+ <IfModule mod_perl.c>
+ Allow from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all granted
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -368,7 +378,12 @@ EOT
Deny from all
</IfVersion>
<IfVersion >= 2.4>
- Require all denied
+ <IfModule mod_perl.c>
+ Deny from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all denied
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -388,8 +403,14 @@ EOT
Deny from all
</IfVersion>
<IfVersion >= 2.4>
- Require ip 192.20.225.0/24
- Require all denied
+ <IfModule mod_perl.c>
+ Allow from 192.20.225.0/24
+ Deny from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require ip 192.20.225.0/24
+ Require all denied
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -405,7 +426,12 @@ EOT
Allow from all
</IfVersion>
<IfVersion >= 2.4>
- Require all granted
+ <IfModule mod_perl.c>
+ Allow from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all granted
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -419,7 +445,12 @@ EOT
Deny from all
</IfVersion>
<IfVersion >= 2.4>
- Require all denied
+ <IfModule mod_perl.c>
+ Deny from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all denied
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -436,7 +467,12 @@ EOT
Allow from all
</IfVersion>
<IfVersion >= 2.4>
- Require all granted
+ <IfModule mod_perl.c>
+ Allow from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all granted
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -450,7 +486,12 @@ EOT
Deny from all
</IfVersion>
<IfVersion >= 2.4>
- Require all denied
+ <IfModule mod_perl.c>
+ Deny from all
+ </IfModule>
+ <IfModule !mod_perl.c>
+ Require all denied
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>