ID: 39984 Updated by: [EMAIL PROTECTED] Reported By: marc dot bau at gmx dot net -Status: Open +Status: Feedback Bug Type: IIS related Operating System: WinXP PHP Version: 5.2.0 New Comment:
I mean that IIS might change this code for some reason. One of the possible ways to check it out would be to install Apache with PHP CGI and verify that it works ok. Since they share the same code, it would mean that the problem is somewhere else. Previous Comments: ------------------------------------------------------------------------ [2006-12-29 18:05:52] marc dot bau at gmx dot net What are you talking about regarding "Please make sure IIS does not translate 301 to 302." ? ------------------------------------------------------------------------ [2006-12-29 18:03:38] marc dot bau at gmx dot net GET /test.php HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: de,en;q=0.8,en-us;q=0.6,de-de;q=0.4,es;q=0.2 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: PHPSESSID=m9qi6v871710hj32f7b5cq6317 HTTP/1.x 302 Object Moved Server: Microsoft-IIS/5.1 Date: Fri, 29 Dec 2006 18:02:03 GMT Connection: close Content-Type: text/html X-Powered-By: PHP/5.2.0 Location: http://example.com ------------------------------------------------------------------------ [2006-12-29 18:03:31] [EMAIL PROTECTED] This is why I stated I was using Apache. Please make sure IIS does not translate 301 to 302. ------------------------------------------------------------------------ [2006-12-29 17:59:52] marc dot bau at gmx dot net This is why is selected "IIS related". I cannot repro this with Apache, too. But under IIS it is broken! ------------------------------------------------------------------------ [2006-12-29 17:30:36] [EMAIL PROTECTED] Cannot reproduce with Apache. HTTP/1.1 301 Date: Fri, 29 Dec 2006 17:29:55 GMT Server: Apache/1.3.29 (Unix) X-Powered-By: PHP/5.2.1RC2-dev Location: http://example.com Connection: close Content-Type: text/html ------------------------------------------------------------------------ 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