#19954 [Com]: HTTP Response Code not set correctly
| From: | bking at starbridgesystems dot com | Date: | Mon, 27 Jan 2003 20:40:30 +0000 |
| Subject: | #19954 [Com]: HTTP Response Code not set correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31366@lists.php.net to get a copy of this message | ||
ID: 19954
Comment by: bking@starbridgesystems.com
Reported By: max@home-werner.de
Status: No Feedback
Bug Type: Apache2 related
Operating System: Linux 2.4.19
PHP Version: 4CVS-2002-10-17
New Comment:
This seems to be the same bug as 21074.
Previous Comments:
------------------------------------------------------------------------
[2002-11-02 01:00:07] php-bugs@lists.php.net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-10-17 12:32:01] max@home-werner.de
I am refering to the 1.3.x API as the "old" API!
------------------------------------------------------------------------
[2002-10-17 10:31:08] iliaa@php.net
When you refer to the "old" sapi, are you talking about the 1.3.X sapi
or previous versions of the apache2filter sapi?
------------------------------------------------------------------------
[2002-10-17 10:27:17] max@home-werner.de
I've compiled Apache 2.0.43 and PHP 4.3.0-dev from CVS.
I configured PHP with --with-apxs2=/usr/local/apache2/bin/apxs.
In my httpd.conf I have the following lines:
ErrorDocument 404 /error-404.php
ErrorDocument 403 /error-403.php
These two scripts DON'T output any header information via header().
They just output some HTML.
Now when I try to GET an document that does not exist, I get "HTTP/1.1
200 OK" and the document /error-404.php instead of a "HTTP/1.1 404 Not
Found".
I think that the problem exists in the apache2filter SAPI since this
behaviour does not occur in the "old" apache SAPI.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19954&edit=1