ID:               32122
 Updated by:       [EMAIL PROTECTED]
 Reported By:      OvdSpek at LIACS dot NL
 Status:           Open
-Bug Type:         Apache2 related
+Bug Type:         Documentation problem
 Operating System: Linux, Windows XP, 2003
 PHP Version:      5CVS-2005-03-01
 New Comment:

I don't think that's expected to work for anything other than the CGI
SAPI, so I think this is a docs bug if anything.  Certainly
sapi_header_op doesn't special-case Status:; so this isn't
apache2-SAPI-specific.


Previous Comments:
------------------------------------------------------------------------

[2005-03-04 17:08:25] OvdSpek at LIACS dot NL

But this bug report wasn't about that, it was about "Status: 404 Not
Found" not working.
If that's not supposed to work, please mention that in the
documentation.

------------------------------------------------------------------------

[2005-03-04 16:51:25] [EMAIL PROTECTED]

This works:

<?php
header("HTTP/1.0 404 Not Found");
?> 


------------------------------------------------------------------------

[2005-02-28 22:09:22] OvdSpek at LIACS dot NL

:(

GET /temp/404.php HTTP/1.1

HTTP/1.1 200 OK
Date: Mon, 28 Feb 2005 21:04:06 GMT
Server: Apache/2.0.53 (Win32) PHP/5.1.0-dev
X-Powered-By: PHP/5.1.0-dev
Status: 404 Not Found
Content-Length: 0
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1

------------------------------------------------------------------------

[2005-02-28 22:01:55] OvdSpek at LIACS dot NL

Will do. Just wondering, why did the summary change from
header("Status: 404 Not Found"); doesn't work to Multiple small packets
send for HTTP request?

------------------------------------------------------------------------

[2005-02-27 12:42:29] OvdSpek at LIACS dot NL

Where do the docs state that?

> Note: In PHP 3, this only works when PHP is compiled as an Apache
module. You can achieve the same effect using the Status header. 

This states that if you're using PHP 3, it only works as Apache
module.
It doesn't state that it only works in PHP 3.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/32122

-- 
Edit this bug report at http://bugs.php.net/?id=32122&edit=1

Reply via email to