ID: 1504
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0
New Comment:
the header() function does the right thing with header("HTTP/1.0 404
Not found") style headers in php 4.
Previous Comments:
------------------------------------------------------------------------
[2001-07-22 19:44:29] [EMAIL PROTECTED]
re-opening
------------------------------------------------------------------------
[2001-07-22 12:32:13] [EMAIL PROTECTED]
It seems like this bug needs to be closed.
------------------------------------------------------------------------
[2001-02-10 13:22:29] [EMAIL PROTECTED]
refiling against 4.0 (perhaps it could be addressed in sapi layer since
header('status: 404 not found') may not work with all web servers).
------------------------------------------------------------------------
[1999-06-07 21:09:00] [EMAIL PROTECTED]
When having a line like this "ErrorDocument 404 /404.php3", in your
apache httpd.conf, the first line of the HTTP respone would be
something like "HTTP/1.1 404 Object Not Found". It would be nice to be
able to change this to fx. "HTTP/1.1 200 OK".
Right now php only makes it possible to add new lines after the first
line of the header, and doing a header("status: 200 OK"); will not work
on all clients.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=1504&edit=1