From: Frédéric Buclin Date: Fri, 20 Feb 2015 11:58:46 +0000 (+0100) Subject: Bug 1133690: .htaccess incorrectly assumes that Apache 2.2.x can read new 2.4 directives X-Git-Tag: release-5.1.1~362 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638dc6564b1aefe8dc2bca1c1511d6ddd37cad81;p=thirdparty%2Fbugzilla.git Bug 1133690: .htaccess incorrectly assumes that Apache 2.2.x can read new 2.4 directives r=dkl a=glob --- diff --git a/.htaccess b/.htaccess index 14325d1523..2f009697cc 100644 --- a/.htaccess +++ b/.htaccess @@ -1,10 +1,10 @@ # Don't allow people to retrieve non-cgi executable files or our private data - + Deny from all - 2.2> + = 2.4> Require all denied diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index f28d6699bf..5f56774609 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -48,10 +48,10 @@ use constant HT_DEFAULT_DENY => < - + Deny from all - 2.2> + = 2.4> Require all denied @@ -351,10 +351,10 @@ EOT # Allow access to .png and .gif files. - + Allow from all - 2.2> + = 2.4> Require all granted @@ -365,10 +365,10 @@ EOT # And no directory listings, either. - + Deny from all - 2.2> + = 2.4> Require all denied @@ -384,13 +384,14 @@ EOT # the IP address of your webdot server. # # -# +# # Allow from 127.0.0.1/24 # Deny from all # -# 2.2> +# = 2.4> # Require ip 127.0.0.1/24 # Require all denied +# # # # Allow from 127.0.0.1/24 @@ -401,10 +402,10 @@ EOT # Allow access to .png files created by a local copy of 'dot' - + Allow from all - 2.2> + = 2.4> Require all granted @@ -415,10 +416,10 @@ EOT # And no directory listings, either. - + Deny from all - 2.2> + = 2.4> Require all denied @@ -432,10 +433,10 @@ EOT # Allow access to .css files - + Allow from all - 2.2> + = 2.4> Require all granted @@ -446,10 +447,10 @@ EOT # And no directory listings, either. - + Deny from all - 2.2> + = 2.4> Require all denied