#39989 [Com]: header location doesn't send explanation
| From: | l dot bigonville at edpnet dot be | Date: | Wed, 03 Jan 2007 04:18:47 +0000 |
| Subject: | #39989 [Com]: header location doesn't send explanation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107112@lists.php.net to get a copy of this message | ||
ID: 39989
Comment by: l dot bigonville at edpnet dot be
Reported By: Laurent Bigonville <l dot bigonville at edpnet dot
Status: Feedback
Bug Type: HTTP related
Operating System: Debian Sarge
PHP Version: 5.2.0
New Comment:
Well this is production server, this could be a little bit
complicated...
Previous Comments:
------------------------------------------------------------------------
[2006-12-30 22:41:28] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-12-30 20:31:57] l dot bigonville at edpnet dot be
Oups
the last part of the message must read:
If I change the script to
#! /bin/sh
echo Status: 302 Found
echo
It returns HTTP/1.1 302 Found i both cases
------------------------------------------------------------------------
[2006-12-30 20:30:32] l dot bigonville at edpnet dot be
I use php in cgi mode. The problem seems to come from apache 2.0(.54)
not from php.
I'v made an other test using a simple shell script
#! /bin/sh
echo Status: 302
echo
With apache 2.2 it returns HTTP/1.1 302 Found
but with apache 2.0 it returns HTTP/1.1 302
If I change the script to
#! /bin/sh
echo Status: 302
echo
It returns HTTP/1.1 302 Found i both cases
------------------------------------------------------------------------
[2006-12-30 02:03:28] iliaa@php.net
What SAPI are you using?
------------------------------------------------------------------------
[2006-12-30 01:06:35] l dot bigonville at edpnet dot be
I think it's because php_cgi return "Status: 302" with no explanation
------------------------------------------------------------------------
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/39989
--
Edit this bug report at http://bugs.php.net/?id=39989&edit=1