Bug#457339: marked as done (SetEnv vs. SetEnvif vs. php)
Your message dated Tue, 1 Jan 2008 13:10:03 +0100
with message-id <200801011310.03794.sf@sfritsch.de>
and subject line Bug#457339: SetEnv vs. SetEnvif vs. php
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: apache2.2-common
Version: 2.2.6-3
I have discovered a bug in the Debian apache2 and/or php packages.
Consider the following .htaccess file,
#SetEnvif User-Agent . ban
#SetEnv ban
Order Allow,Deny
Allow from all
Deny from env=ban
Looking in error.log, if you uncomment the first line, all you will see
[Fri Dec 21 23:23:23 2007] [error] [client 127.0.0.1] client denied by server configuration: /var/lib/bla/
which is good. If instead you uncomment the second line, you get
[Fri Dec 21 23:26:24 2007] [error] [client 127.0.0.1] client denied by server configuration: /var/lib/bla/index.html
[Fri Dec 21 23:26:24 2007] [error] [client 127.0.0.1] client denied by server configuration: /var/lib/bla/index.cgi
[Fri Dec 21 23:26:24 2007] [error] [client 127.0.0.1] client denied by server configuration: /var/lib/bla/index.pl
meaning that somehow index.php was forgotten on the list of things to stop!
Indeed, one scratches their head about why the effect is not the same
as the first.
Or http://localhost/manual/env.html should expound further the secrets
involved.
If so please reassign to apache2-doc. Thanks.
--- End Message ---
--- Begin Message ---
- To: jidanni@jidanni.org
- Cc: 457339-done@bugs.debian.org
- Subject: Re: Bug#457339: SetEnv vs. SetEnvif vs. php
- From: Stefan Fritsch <sf@sfritsch.de>
- Date: Tue, 1 Jan 2008 13:10:03 +0100
- Message-id: <200801011310.03794.sf@sfritsch.de>
- In-reply-to: <87tzlz7bwj.fsf@jidanni.org>
- References: <200712310025.25671.sf@sfritsch.de> <87tzlz7bwj.fsf@jidanni.org>
On Monday 31 December 2007, jidanni@jidanni.org wrote:
> I see 301s 403s 200s... in my twisted homebrew mediawiki .htaccess
> mess's logs that now slip from my brain as I moved on to a
> different project...
Considering that everything seems to work correctly for me and the
only problem is that the error messages are different (but both are
correct), I will close this bug.
--- End Message ---
Reply to: