IIS6.0 & CGI PHP header
| From: | Sadun Sevin | Date: | Sat, 02 Aug 2003 13:23:37 +0000 |
| Subject: | IIS6.0 & CGI PHP header | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20986@lists.php.net to get a copy of this message | ||
CODE IS:
--------------
<?
...
Header("Location: Http://".$GLOBALS["HTTP_HOST"]."/main.php?");
exit;
?>
after header() it redirects but i faced with the error of:
---------------------------------------------------------------------------
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
PHP.ini:
------------
cgi.force_redirect = 0
cgi.redirect_status_env = ENV_VAR_NAME
fastcgi.impersonate = 1
cgi.rfc2616_headers = 1
thanks for help