ID: 24916 User updated by: sadun at isikun dot org Reported By: sadun at isikun dot org Status: Open Bug Type: IIS related Operating System: Windows Server 2003 PHP Version: 4.3.2 New Comment:
it was working fine with ISAPI on IIS 6.0 but i need to use like CGI and i faced with CGI Error. i have searched the net but i can't find anything about it. Previous Comments: ------------------------------------------------------------------------ [2003-08-02 08:06:02] sadun at isikun dot org Description: ------------ ;changes in php.ini error_reporting = E_ALL & ~E_NOTICE register_globals = On include_path = ".;W:\wwwroot\includes" extension_dir = "W:\php\extensions" cgi.force_redirect = 0 cgi.redirect_status_env = ENV_VAR_NAME fastcgi.impersonate = 1 cgi.rfc2616_headers = 1 upload_tmp_dir = "W:\php\phpupload" extension=php_mbstring.dll extension=php_imap.dll extension=php_gd2.dll session.save_path = "W:\php\phpsession" session.auto_start = 1 Reproduce code: --------------- Header("Location: Http://".$GLOBALS["HTTP_HOST"]."/main.php?"); // i checked URL is correct Expected result: ---------------- redirect to url 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=24916&edit=1