#24916 [NEW]: IIS6.0 & CGI PHP header()
From: sadun at isikun dot org
Operating system: Windows Server 2003
PHP version: 4.3.2
PHP Bug Type: IIS related
Bug description: IIS6.0 & CGI PHP header()
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 bug report at http://bugs.php.net/?id=24916&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24916&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24916&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24916&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24916&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24916&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24916&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24916&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24916&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24916&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24916&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24916&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24916&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24916&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24916&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24916&r=gnused
Thread (16 messages)
- sadun at isikun dot org
- sadun at isikun dot org#24916 [Opn]: IIS6.0 & CGI PHP header()
- iliaa@php.net#24916 [Opn->Fbk]: IIS6.0 & CGI PHP header()
- edink@php.net#24916 [Fbk]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Fbk->Opn]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Opn]: IIS6.0 & CGI PHP header()
- sniper@php.net#24916 [Opn->Bgs]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Bgs]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Bgs]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Bgs]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Bgs]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Bgs->Opn]: IIS6.0 & CGI PHP header()
- iliaa@php.net#24916 [Opn->Bgs]: IIS6.0 & CGI PHP header()
- sadun at isikun dot org#24916 [Bgs->Opn]: IIS6.0 & CGI PHP header()
- sniper@php.net#24916 [Opn->Bgs]: IIS6.0 & CGI PHP header()
- jeff at mos dot org#24916 [Com]: IIS6.0 & CGI PHP header()