Re: PHP 4.0 Bug #5885: mod_php sends response body for HEAD Requests

From: Date: Wed, 02 Aug 2000 14:39:13 +0000
Subject: Re: PHP 4.0 Bug #5885: mod_php sends response body for HEAD Requests
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-27451@lists.php.net to get a copy of this message
On Tue, 1 Aug 2000, Rasmus Lerdorf wrote: > > | Try Apache-1.3.12 and PHP 4.0.1 > > > > My bug report mentioned Apache 1.3.12 and PHP 4.0.2-dev (20/21. july 2000), so > > i think this bug might be in PHP 4.0.1, too :-) > > Ok, but I am not convinced it is a PHP bug. Haven't looked into it yet > though, but Apache does a redirect and it would appear that it isn't > preserving the header-only bit. We've noticed similar behavior and also believe it to be a bug in Apache. Here is an Apache bug report (not filed by us, but identical to the behavior we see). http://bugs.apache.org/index.cgi/full/4920 As you'll note: 1) 304 is correctly sent to the client. The status-code of 200 is only /logged/. 2) This only occurs for requests for directory indexes. As part of the direct from from / to /index.html, the incorrect status-code gets set. -adam -- / adam maccabee trachtenberg | visit college life online \ \ adam@student.net | http://www.student.com /

« previous php.dev (#27451) next »