ID: 34389 Updated by: [EMAIL PROTECTED] Reported By: oliver at teqneers dot de -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Win2k PHP Version: 4.4.0 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2005-09-06 13:37:27] oliver at teqneers dot de Description: ------------ My environment is an IIS/6.0 on a Win2K system with PHP4.4.0. When trying to forward a request to another PHP script using the header( 'Location: ...' ) function, the following error occurs: ---------------------------------- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. ---------------------------------- This error only occurs if: - the target script is a PHP script INCLUDING PHP code - the source script has been connected to an Oracle DB with a PERSISTENT connection (I know it does not make that many sense to use it under CGI. anyway.) - web server is running PHP in CGI mode Btw: I also tried to play around with php.ini settings of fastcgi.impersonate and cgi.rfc2616_headers which did not help either. Current setting for these are fastcgi.impersonate = 1 cgi.rfc2616_headers (DEFAULT, because not set) I have also tried hints described in PHP Bug 9852 and 8744 without positiv results. Reproduce code: --------------- try to use the following files to reproduce the error: ----------- forward.php ---------- <? $connection = OCIPLogon( 'user', 'passwd', 'host'); header( 'Location: target.php?'.rand() ); ?> ----------- /forward.php ---------- ----------- target.php ---------- <? echo 'it works'; ?> ----------- /target.php ---------- Expected result: ---------------- it works Actual result: -------------- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34389&edit=1
