summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-03-11 17:49:24 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-03-11 17:49:24 +0100
commitb70bdeb2ed17a03e1a24b37cb0a61d66d868522d (patch)
treef123f4b0abe8f9a585ab7ac37512febffb6e2a97 /Bugzilla/Install
parent64ad8e38d4e984b216a67d22f147921d1efaaa60 (diff)
downloadbugzilla-b70bdeb2ed17a03e1a24b37cb0a61d66d868522d.tar.gz
bugzilla-b70bdeb2ed17a03e1a24b37cb0a61d66d868522d.tar.xz
Bug 1138463: mod_perl does not support Apache 2.4 directives
r=dkl a=glob
Diffstat (limited to 'Bugzilla/Install')
-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 5f5677460..d2d342a77 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>
@@ -355,7 +360,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>
@@ -369,7 +379,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>
@@ -389,8 +404,14 @@ EOT
# Deny from all
# </IfVersion>
# <IfVersion >= 2.4>
-# Require ip 127.0.0.1/24
-# Require all denied
+# <IfModule mod_perl.c>
+# Allow from 127.0.0.1/24
+# Deny from all
+# </IfModule>
+# <IfModule !mod_perl.c>
+# Require ip 127.0.0.1/24
+# Require all denied
+# </IfModule>
# </IfVersion>
# </IfModule>
# <IfModule !mod_version.c>
@@ -406,7 +427,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>
@@ -420,7 +446,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>
@@ -437,7 +468,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>
@@ -451,7 +487,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>