#24916 [Bgs]: IIS6.0 & CGI PHP header()

2003-08-04 Thread sadun at isikun dot org
 ID:   24916
 User updated by:  sadun at isikun dot org
 Reported By:  sadun at isikun dot org
 Status:   Bogus
 Bug Type: IIS related
 Operating System: Windows Server 2003
 PHP Version:  4.3.2
 New Comment:

I FOUND THE PROBLEM IF YOU REDIRECT USER TO SAME PHP FILE IT MAKES AN
ERROR LOOP.

let's say i execute a code at main.php and if i redirect user to
main.php you can see in the headers that it makes a loop with errors at
headers with "INET_E_REDIRECT_FAILED" but you can redirect anywhere
else except same file...

CODE
-
http://webgroup.isikun.edu.tr/arge/header.php";);

?>

ERROR AT HEADERS
-

20:15:48.2790.109   *   GET INET_E_REDIRECT_FAILED  text/html   
http://webgroup.isikun.edu.tr/arge/header.php


Previous Comments:


[2003-08-04 12:03:35] sadun at isikun dot org

!!! UPS.. NOW I CAN REDIRECT WITH GET BUT NOT WITH POST

i don't really know if my codes make this problem but except "IIS 6.0
CGI" i try it several apache servers 1.x 2.x both on unix and winNT
platforms and it always worked.

HERE ARE THE HEADERS



19:54:03.7320.203   *   POSTINET_E_REDIRECT_FAILED  text/html   
http://webgroup.isikun.edu.tr/main.php

-

(Response Status)   HTTP/1.1 302 Redirect
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Content-Length  161
Content-Typetext/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
LocationHttp://webgroup.isikun.edu.tr/main.php
Server  Microsoft-IIS/6.0
X-Powered-ByPHP/4.3.3RC2
Set-Cookie  PHPSESSID=ad1a199467d611ed39773d5e56358239; path=/
Set-Cookie  student_session_id=6c9009a421a409c1385dde256b693840
X-Powered-ByASP.NET
DateMon, 04 Aug 2003 17:00:28 GMT

--

sorry for disturbing



[2003-08-04 09:02:59] sadun at isikun dot org

PROBLEM IS SOLVED WITH PHP4.3.3RC2

thanks for your help



[2003-08-04 08:38:44] sadun at isikun dot org

;cgi.redirect_status_env = ENV_VAR_NAME

no changes header("Location: URL_FOO");

can't be send in 4.3.2 IIS6.0 with CGI



[2003-08-04 08:21:30] [EMAIL PROTECTED]

Comment this line out: cgi.redirect_status_env = ENV_VAR_NAME




[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-Typetext/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
Server  Microsoft-IIS/6.0
X-Powered-ByPHP/4.3.2
Set-Cookie  PHPSESSID=d67841ed88adca6bc603bd7e480d90ec; path=/
Set-Cookie  student_session_id=0
X-Powered-ByASP.NET
DateMon, 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-Typetext/html
Server  Microsoft-IIS/6.0
X-Powered-ByASP.NET
DateMon, 04 Aug 2003 12:55:10 GMT

---

now i gonna try 4.3.3 RC2



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24916

-- 
Edit this bug report at http://bugs.php.net/?id=24916&edit=1



#24916 [Bgs]: IIS6.0 & CGI PHP header()

2003-08-04 Thread sadun at isikun dot org
 ID:   24916
 User updated by:  sadun at isikun dot org
 Reported By:  sadun at isikun dot org
 Status:   Bogus
 Bug Type: IIS related
 Operating System: Windows Server 2003
 PHP Version:  4.3.2
 New Comment:

!!! UPS.. NOW I CAN REDIRECT WITH GET BUT NOT WITH POST

i don't really know if my codes make this problem but except "IIS 6.0
CGI" i try it several apache servers 1.x 2.x both on unix and winNT
platforms and it always worked.

HERE ARE THE HEADERS



19:54:03.7320.203   *   POSTINET_E_REDIRECT_FAILED  text/html   
http://webgroup.isikun.edu.tr/main.php

-

(Response Status)   HTTP/1.1 302 Redirect
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Content-Length  161
Content-Typetext/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
LocationHttp://webgroup.isikun.edu.tr/main.php
Server  Microsoft-IIS/6.0
X-Powered-ByPHP/4.3.3RC2
Set-Cookie  PHPSESSID=ad1a199467d611ed39773d5e56358239; path=/
Set-Cookie  student_session_id=6c9009a421a409c1385dde256b693840
X-Powered-ByASP.NET
DateMon, 04 Aug 2003 17:00:28 GMT

--

sorry for disturbing


Previous Comments:


[2003-08-04 09:02:59] sadun at isikun dot org

PROBLEM IS SOLVED WITH PHP4.3.3RC2

thanks for your help



[2003-08-04 08:38:44] sadun at isikun dot org

;cgi.redirect_status_env = ENV_VAR_NAME

no changes header("Location: URL_FOO");

can't be send in 4.3.2 IIS6.0 with CGI



[2003-08-04 08:21:30] [EMAIL PROTECTED]

Comment this line out: cgi.redirect_status_env = ENV_VAR_NAME




[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-Typetext/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
Server  Microsoft-IIS/6.0
X-Powered-ByPHP/4.3.2
Set-Cookie  PHPSESSID=d67841ed88adca6bc603bd7e480d90ec; path=/
Set-Cookie  student_session_id=0
X-Powered-ByASP.NET
DateMon, 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-Typetext/html
Server  Microsoft-IIS/6.0
X-Powered-ByASP.NET
DateMon, 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.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24916

-- 
Edit this bug report at http://bugs.php.net/?id=24916&edit=1



#24916 [Bgs]: IIS6.0 & CGI PHP header()

2003-08-04 Thread sadun at isikun dot org
 ID:   24916
 User updated by:  sadun at isikun dot org
 Reported By:  sadun at isikun dot org
 Status:   Bogus
 Bug Type: IIS related
 Operating System: Windows Server 2003
 PHP Version:  4.3.2
 New Comment:

PROBLEM IS SOLVED WITH PHP4.3.3RC2

thanks for your help


Previous Comments:


[2003-08-04 08:38:44] sadun at isikun dot org

;cgi.redirect_status_env = ENV_VAR_NAME

no changes header("Location: URL_FOO");

can't be send in 4.3.2 IIS6.0 with CGI



[2003-08-04 08:21:30] [EMAIL PROTECTED]

Comment this line out: cgi.redirect_status_env = ENV_VAR_NAME




[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-Typetext/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
Server  Microsoft-IIS/6.0
X-Powered-ByPHP/4.3.2
Set-Cookie  PHPSESSID=d67841ed88adca6bc603bd7e480d90ec; path=/
Set-Cookie  student_session_id=0
X-Powered-ByASP.NET
DateMon, 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-Typetext/html
Server  Microsoft-IIS/6.0
X-Powered-ByASP.NET
DateMon, 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.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24916

-- 
Edit this bug report at http://bugs.php.net/?id=24916&edit=1



#24916 [Bgs]: IIS6.0 & CGI PHP header()

2003-08-04 Thread sadun at isikun dot org
 ID:   24916
 User updated by:  sadun at isikun dot org
 Reported By:  sadun at isikun dot org
 Status:   Bogus
 Bug Type: IIS related
 Operating System: Windows Server 2003
 PHP Version:  4.3.2
 New Comment:

;cgi.redirect_status_env = ENV_VAR_NAME

no changes header("Location: URL_FOO");

can't be send in 4.3.2 IIS6.0 with CGI


Previous Comments:


[2003-08-04 08:21:30] [EMAIL PROTECTED]

Comment this line out: cgi.redirect_status_env = ENV_VAR_NAME




[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-Typetext/html
Expires Thu, 19 Nov 1981 08:52:00 GMT
Server  Microsoft-IIS/6.0
X-Powered-ByPHP/4.3.2
Set-Cookie  PHPSESSID=d67841ed88adca6bc603bd7e480d90ec; path=/
Set-Cookie  student_session_id=0
X-Powered-ByASP.NET
DateMon, 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-Typetext/html
Server  Microsoft-IIS/6.0
X-Powered-ByASP.NET
DateMon, 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.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24916

-- 
Edit this bug report at http://bugs.php.net/?id=24916&edit=1