ID: 39984 Comment by: hfjk at hjg dot kog Reported By: marc dot bau at gmx dot net Status: Suspended Bug Type: IIS related Operating System: WinXP PHP Version: 5.2.1 Assigned To: edink New Comment:
http://www.meta-fx.com/ Previous Comments: ------------------------------------------------------------------------ [2007-02-23 14:06:46] marc dot bau at gmx dot net And this comes to me with FastCGI from the URL you provided. Wrong in a different way - and buggy again. Any way to get this bug really fixed? HTTP/1.x 301 OK Server: Microsoft-IIS/5.1 Date: Fri, 23 Feb 2007 14:04:43 GMT X-Powered-By: ASP.NET, PHP/5.2.1 Connection: close Location: http://www.example.com Content-Type: text/html ------------------------------------------------------------------------ [2007-02-23 13:41:11] marc dot bau at gmx dot net Have a look to this headers. "Undescribed" is are wrong, too. I tryed to use "php5isapi.dll" for PHP extension. 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=nihrgij25siffg5r9dbr17boq5 HTTP/1.x 301 Undescribed Server: Microsoft-IIS/5.1 Date: Fri, 23 Feb 2007 13:38:19 GMT X-Powered-By: ASP.NET, PHP/5.2.1 Connection: close Location: http://www.example.com Content-Type: text/html ------------------------------------------------------------------------ [2007-02-23 13:28:44] marc dot bau at gmx dot net i wonder why there shouldn't be a way to handle this. As one example ActiveState (www.activestate.com) Perl have a CGI version and this works well, too. You should spend some time on the Perl Code, maybe there is a small trick inside. ------------------------------------------------------------------------ [2007-02-19 23:23:06] [EMAIL PROTECTED] Seems that there is no way a CGI script can convince IIS to output something else than 302 response if you have location header. Same IIS using Microsofts latest FCGI isapi has no problems with PHP outputing correct status code. I recommend that you switch to that instead of using raw cgi, the perfomance icrease is dramatic as well. http://www.iis.net/default.aspx?tabid=1000051 ------------------------------------------------------------------------ [2007-02-18 12:05:02] marc dot bau at gmx dot net Additional to this a header('HTTP/1.0 404 Not Found') produces a "404 OK". ------------------------------------------------------------------------ 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