Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#457339: marked as done (SetEnv vs. SetEnvif vs. php)

From: Debian Bug Tracking System <owner(at)bugs.debian.org>
Date: Tue Jan 01 2008 - 07:12:06 EST


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)

attached mail follows:


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,

Do you need help?X

#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.

attached mail follows:


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...

Do you need more help?X

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.

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Jan 1 07:15:12 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:59:35 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library