From 639b50f3b9458c4080ad701b0e2184d6d43ae1df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Fri, 20 Feb 2015 13:04:00 +0100 Subject: [PATCH] Bug 1133690: .htaccess incorrectly assumes that Apache 2.2.x can read new 2.4 directives r=dkl a=glob --- .htaccess | 4 ++-- Bugzilla/Install/Filesystem.pm | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 19 deletions(-) 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 6d7f14ced9..4f133d8656 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 @@ -350,10 +350,10 @@ EOT # Allow access to .png and .gif files. - + Allow from all - 2.2> + = 2.4> Require all granted @@ -364,10 +364,10 @@ EOT # And no directory listings, either. - + Deny from all - 2.2> + = 2.4> Require all denied @@ -383,14 +383,14 @@ EOT # webdot server, you'll need to edit this - + Allow from 192.20.225.0/24 Deny from all - 2.2> + = 2.4> Require ip 192.20.225.0/24 Require all denied - + Allow from 192.20.225.0/24 @@ -401,10 +401,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 +415,10 @@ EOT # And no directory listings, either. - + Deny from all - 2.2> + = 2.4> Require all denied @@ -432,10 +432,10 @@ EOT # Allow access to .css files - + Allow from all - 2.2> + = 2.4> Require all granted @@ -446,10 +446,10 @@ EOT # And no directory listings, either. - + Deny from all - 2.2> + = 2.4> Require all denied -- 2.47.2