#19207 [Ctl->Csd]: php-cgi.exe does not correctly set HTTP status
| From: | edink@php.net | Date: | Fri, 22 Nov 2002 10:17:57 +0000 |
| Subject: | #19207 [Ctl->Csd]: php-cgi.exe does not correctly set HTTP status | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25542@lists.php.net to get a copy of this message | ||
ID: 19207
Updated by: edink@php.net
Reported By: Wendell@thePinegars.com
-Status: Critical
+Status: Closed
Bug Type: IIS related
Operating System: Windows 2000/.Net Server RC1
PHP Version: 4CVS-2002-08-30
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, 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/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Please see new cgi.rfc2616_headers configuration directive in
php.ini-dist.
Previous Comments:
------------------------------------------------------------------------
[2002-11-15 04:13:35] edink@php.net
Marking this critical (fix before 4.3.0 final).
See the related discussion
http://www.phpbuilder.com/mail/php-developer-list/2002092/0238.php
------------------------------------------------------------------------
[2002-09-24 13:03:38] Wendell@thePinegars.com
I'm currently using IIS 6.0 in Windows.Net Server RC1 (build 3663).
Again, CGI PHP 4.2.2/4.2.3 works fine just not CGI PHP 4.3.0.
------------------------------------------------------------------------
[2002-09-24 11:48:11] jmoore@php.net
what version of IIS are you using.. this works fine on Win XP Pro (No
service pack) so IIS 5.0.
- James
--
James Moore
jmoore@php.net
------------------------------------------------------------------------
[2002-09-05 11:22:02] Wendell@thePinegars.com
Just tried the latest snapshot php4-win32-200209051400.zip and the
issue still exists. php-cgi.exe returns the following headers:
Status: 401
Content-type: text/html
WWW-authenticate: basic realm=Logon
The correct headers for php-cgi.exe to work in IIS should be:
HTTP/1.1 401 Unauthorized
Content-type: text/html
WWW-authenticate: basic realm=Logon
------------------------------------------------------------------------
[2002-09-04 21:30:20] kalowsky@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
I believe there was just a patch submitted that fixes this. I could be
wrong though too, please test and update if still valid. :\
------------------------------------------------------------------------
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/19207
--
Edit this bug report at http://bugs.php.net/?id=19207&edit=1