Edit report at http://bugs.php.net/bug.php?id=23902&edit=1
ID: 23902
Comment by: enzinho_vrb at hotmail dot com
Reported by: noxter at web dot de
Summary: header("HTTP/1.0 401 Authorization Required");
failed
Status: Closed
Type: Bug
Package: CGI related
Operating System: Windows 2000
PHP Version: 4.3.2
Assigned To: edink
Block user comment: N
New Comment:
sasa
Previous Comments:
------------------------------------------------------------------------
[2010-08-27 22:48:11] mmoohh00 at yahoo dot com
i wanna make apassword for my wireless lan
------------------------------------------------------------------------
[2010-04-20 08:55:20] taverna_ambelos at windowslive dot com
i forget my adress for ip
------------------------------------------------------------------------
[2010-04-20 08:49:08] dim_logaras at windowslive dot com
i forgot my username for ip addres
------------------------------------------------------------------------
[2003-06-05 04:05:14] jan at kneschke dot de
Doesn't IIS parse CGI headers ?
If it does:
CGI-script are not allowed to send HTTP-response headers at
all. If a CGI script wants to pass a status-code to the Server by
stetting the Status-header.
http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html
Section 7.2
removing the HTTP-response header is a good thing for
Parser-Header environments.
------------------------------------------------------------------------
[2003-06-04 18:17:10] ptchristendom at yahoo dot com
On windows 2003, PHP 4.3.2, any location header at all causes this. You
can also verify it from the command line:
script.php contains this line only:
<? header('Location: http://localhost.com/page.html'); ?>
Output:
d:\php-4.3.2\php script.php
(null)
Content-type: text/html; charset=iso-8859-1
X-Powered-By: PHP/4.3.2
Location: http://localhost.com/page.html
Setting cgi.rfc2616_headers = 0 is a workaround for this, at least until
the bug is fixed.
------------------------------------------------------------------------
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/bug.php?id=23902
--
Edit this bug report at http://bugs.php.net/bug.php?id=23902&edit=1