PHP 4.0 Bug #1504 Updated: New function to set the http status
| From: | jimw@php.net | Date: | Sat, 10 Feb 2001 18:22:29 +0000 |
| Subject: | PHP 4.0 Bug #1504 Updated: New function to set the http status | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46175@lists.php.net to get a copy of this message | ||
ID: 1504
Updated by: jimw
Reported By: lauritz2@hotmail.com
Status: Open
Bug Type: Feature/Change Request
Assigned To:
Comments:
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).
Previous Comments:
---------------------------------------------------------------------------
[1999-06-07 21:09:00] lauritz2@hotmail.com
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=1504&edit=2