ID:               24916
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sadun at isikun dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         IIS related
 Operating System: Windows Server 2003
 PHP Version:      4.3.2
 New Comment:

Comment this line out: cgi.redirect_status_env = ENV_VAR_NAME



Previous Comments:
------------------------------------------------------------------------

[2003-08-04 07:54:32] sadun at isikun dot org

SORRY PREVIOUS POST IS SEND HEADERS HERE ARE RECEIVED HEADERS
-----------------------------------------------------

--------------------------
index.php WITH LOGIN FORM:
--------------------------
(Response Status)       HTTP/1.1 200 OK
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Content-Type    text/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
Server  Microsoft-IIS/6.0
X-Powered-By    PHP/4.3.2
Set-Cookie      PHPSESSID=d67841ed88adca6bc603bd7e480d90ec; path=/
Set-Cookie      student_session_id=0
X-Powered-By    ASP.NET
Date    Mon, 04 Aug 2003 12:53:11 GMT
Connection      close

--------------------------
AFTER SUBMITING POST FORM:
--------------------------

(Response Status)       HTTP/1.1 502 Bad Gateway
Content-Length  232
Content-Type    text/html
Server  Microsoft-IIS/6.0
X-Powered-By    ASP.NET
Date    Mon, 04 Aug 2003 12:55:10 GMT

-----------------------

now i gonna try 4.3.3 RC2

------------------------------------------------------------------------

[2003-08-03 13:24:53] [EMAIL PROTECTED]

And try PHP-4.3.3RC2 while you're at it.

------------------------------------------------------------------------

[2003-08-02 11:24:26] [EMAIL PROTECTED]

Please reply with all the headers php sends back.

------------------------------------------------------------------------

[2003-08-02 08:11:28] sadun at isikun dot org

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.

------------------------------------------------------------------------

[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

Reply via email to