#8744 [Com]: call to header() causes CGI error

From: Date: Mon, 26 Jul 2004 22:49:52 +0000
Subject: #8744 [Com]: call to header() causes CGI error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63596@lists.php.net to get a copy of this message
ID: 8744 Comment by: perl at zeno dot com Reported By: emily at crytech dot com Status: Bogus Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.1.1 New Comment: I have posted a more thorough explanation in #9852. Previous Comments: ------------------------------------------------------------------------ [2004-07-26 22:21:51] perl at zeno dot com This bug does not seem exclusive to PHP. I'm having the same problem on IIS6/Win2003 using ActivePerl 5.8.4. I'm using the CGI.pm module to generate a redirect header, I've also tried generating it manually, no difference. I noticed the relationship to the DB connection as well, using the Win32::ODBC module. However, I've managed to trace it down to an even simpler form. If I redirect to a static HTML page, it works fine every time. If I redirect to another Perl script, it fails intermittently with 502 errors in the IIS log. If I copy the test scripts to an XP Workstation box with IIS 5.1, the problem simply does not occur, ever. Here's another twist: The problem only happens if the IIS6/Win2003 server is set to allow anonymous access. If you disable anonymous access and the user has to authenticate to see the pages, it does not occur! ------------------------------------------------------------------------ [2002-06-18 18:20:11] sniper@php.net See explanation in #9852 ------------------------------------------------------------------------ [2002-06-02 16:16:11] k.schroeder@php.net Same problem as #9852. Regards, Kai ------------------------------------------------------------------------ [2002-04-28 00:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-03-25 09:11:00] sesser@php.net Guys try 4.1.2 I think this is just the 1000th duplicate of the header bug. ------------------------------------------------------------------------ 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/8744 -- Edit this bug report at http://bugs.php.net/?id=8744&edit=1

« previous php.bugs (#63596) next »