Commit f0c2b6bf authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1138463: mod_perl does not support Apache 2.4 directives

r=dkl a=glob
parent 00466e7f
......@@ -5,7 +5,12 @@
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>
......
......@@ -48,7 +48,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>
......@@ -344,7 +349,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>
......@@ -358,7 +368,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>
......@@ -378,8 +393,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>
......@@ -395,7 +416,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>
......@@ -409,7 +435,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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment