ID: 24916
User updated by: sadun at isikun dot org
Reported By: sadun at isikun dot org
-Status: Feedback
+Status: Open
Bug Type: IIS related
Operating System: Windows Server 2003
PHP Version: 4.3.2
New Comment:
HERE ARE THE HEADERS:
----------------------------
--------------------------
index.php WITH LOGIN FORM:
--------------------------
(Request Method) GET / HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, application/x-shockwave-flash, */*
Accept-Language tr
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)
Host webgroup.isikun.edu.tr
--------------------------
AFTER SUBMITING POST FORM:
--------------------------
(Request Method) POST /main.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, application/x-shockwave-flash, */*
Referer http://webgroup.isikun.edu.tr
Accept-Language tr
Content-Type application/x-www-form-urlencoded
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)
Host webgroup.isikun.edu.tr
Content-Length 52
Connection Keep-Alive
Cache-Control no-cache
Cookie PHPSESSID=67488994c4c4884b3f241c852f4a0978;
student_session_id=0; screen_resolution_width=1024
-----------------------
now i gonna try 4.3.3 RC2
Previous Comments:
------------------------------------------------------------------------
[2003-08-03 13:24:53] edink@php.net
And try PHP-4.3.3RC2 while you're at it.
------------------------------------------------------------------------
[2003-08-02 11:24:26] iliaa@php.net
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