#39984 [Csd]: Response header sent as 302 despite being set to 301
| From: | iliaa@php.net | Date: | Mon, 01 Jan 2007 16:53:36 +0000 |
| Subject: | #39984 [Csd]: Response header sent as 302 despite being set to 301 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107091@lists.php.net to get a copy of this message | ||
ID: 39984
Updated by: iliaa@php.net
Reported By: marc dot bau at gmx dot net
Status: Closed
Bug Type: IIS related
Operating System: WinXP
PHP Version: 5.2.0
New Comment:
From the PHP end of things the issue is resolved, if IIS does
not properly handle the Status header in the event of
redirects, that's hardly a PHP problem, no?
Previous Comments:
------------------------------------------------------------------------
[2007-01-01 16:50:41] marc dot bau at gmx dot net
But this won't help me anything if you tell me it should be fixed and
it isn't. You should test this on IIS, while it is not working as
expected and i cannot fix this myself.
So - this problem is OPEN until the bug is really fixed. I don't know
why your are closing it until it is working.
------------------------------------------------------------------------
[2007-01-01 16:32:16] iliaa@php.net
Then it is probably due to IIS overwriting the Status code.
Based on the current code in the CVS right now PHP sends the
redirect code set by your application.
------------------------------------------------------------------------
[2007-01-01 16:22:47] marc dot bau at gmx dot net
But i have used the Snapshot php5.2-win32-200701010730 !?
------------------------------------------------------------------------
[2007-01-01 16:17:05] iliaa@php.net
you need to use the 5.2 CVS snapshot
------------------------------------------------------------------------
[2007-01-01 11:49:00] marc dot bau at gmx dot net
same with php6.0-win32-200701010930:
HTTP/1.x 302 Object Moved
Server: Microsoft-IIS/5.1
Date: Mon, 01 Jan 2007 11:47:42 GMT
Connection: close
Content-Type: text/html
X-Powered-By: PHP/6.0.0-dev
Location: http://www.example.com
------------------------------------------------------------------------
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/39984
--
Edit this bug report at http://bugs.php.net/?id=39984&edit=1