#39984 [Csd]: Response header sent as 302 despite being set to 301

From: Date: Mon, 01 Jan 2007 16:50:41 +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-107090@lists.php.net to get a copy of this message
 ID:               39984
 User updated by:  marc dot bau at gmx dot 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:

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.


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

[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

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

[2007-01-01 11:28:37] marc dot bau at gmx dot net

i'm sorry but i must reopen the case. i tested with snapshot
php5.2-win32-200701010730 and i got this:

Isn't this the CVS Version you talked about?


HTTP/1.x 302 Object Moved
Server: Microsoft-IIS/5.1
Date: Mon, 01 Jan 2007 11:26:59 GMT
Connection: close
Content-Type: text/html
X-Powered-By: PHP/5.2.1RC2-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


Thread (29 messages)

« previous php.bugs (#107090) next »