ID:               36400
 Updated by:       [EMAIL PROTECTED]
 Reported By:      paolo at casarini dot org
-Status:           Open
+Status:           Closed
 Bug Type:         Apache related
 Operating System: Linux version 2.4.27-2-386
 PHP Version:      5.1.2
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2006-02-15 10:12:11] paolo at casarini dot org

Description:
------------
When running PHP as an Apache module (Apache/1.3.34 (Debian)
PHP/5.1.2-1.dotdeb.2 mod_ssl/2.8.25 OpenSSL/0.9.8), the
response error code for a custom error is not correctly returned.

Reproduce code:
---------------
<?php
header("HTTP/1.1 559 CustomError");
header("Status: 559 CustomError");
echo "<html>\n";
echo "<body>\n";
echo "Error on page!!!\n";
echo "</body>\n";
echo "</html>\n";
?>

Expected result:
----------------
I would expect to see an HTTP response code of 559 with a response
message of "CustomError".

Actual result:
--------------
The response code returned is 500.


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


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

Reply via email to