PHP 4.0 Bug #2759 Updated: Apache send "Content-Type" before PHP (cgi-version) can send it's own headers.
| From: | Bug Database | Date: | Sun, 21 Nov 1999 20:18:38 +0000 |
| Subject: | PHP 4.0 Bug #2759 Updated: Apache send "Content-Type" before PHP (cgi-version) can send it's own headers. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12877@lists.php.net to get a copy of this message | ||
ID: 2759
Updated by: sas
Reported By: joel.jacobson@mobigym.se
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Replace
header("HTTP/1.1 401 Access Denied");
with
header("Status: 401 Access Denied");
and it should work.
Full Bug description available at: http://bugs.php.net/?id=2759