#21004 [Opn]: Header Location Fails

From: Date: Mon, 16 Dec 2002 02:27:43 +0000
Subject: #21004 [Opn]: Header Location Fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27807@lists.php.net to get a copy of this message
ID: 21004 Updated by: sniper@php.net Reported By: tom@minnesota.com Status: Open Bug Type: HTTP related Operating System: NetBSD/Alpha (64bit) - 1.6 PHP Version: 4CVS-2002-12-13 (stable) New Comment: I'm unable to reproduce this with 4.3.0-dev. Previous Comments: ------------------------------------------------------------------------ [2002-12-15 17:02:14] tom@minnesota.com No it doesn't work now. If you click on the URL I typed earlier from Minnesota.com, it's running PHP-4.2.2 not PHP-4.3-CVS. Per my other message, redir works fine in 4.2.2 but NOT in 4.3-cvs. I only switch to 4.3-cvs to do the tests, after which, I switch back to 4.2.2. header("Location: ....") *DOES NOT* work in 4.3-cvs. ------------------------------------------------------------------------ [2002-12-15 16:16:11] sniper@php.net So it works now? ------------------------------------------------------------------------ [2002-12-15 11:39:03] tom@minnesota.com I tested this on a DSO. There was no error from apache in the log when accessing index.php. ------------------------------------------------------------------------ [2002-12-15 03:51:55] sniper@php.net And how is PHP installed there? DSO or CGI? What does Apache logs have to say about that internal error you're getting? ------------------------------------------------------------------------ [2002-12-14 12:19:42] tom@minnesota.com I don't think it's directing at all. FYI, works fine under PHP-4.2.2, but not CVS. Using 4.3-CVS ------------- # lynx -dump -head http://www.minnesota.com/~tom/php/redir/index.php HTTP/1.1 500 Internal Server Error Date: Sat, 14 Dec 2002 18:13:20 GMT Server: Apache/1.3.27 (Unix) PHP/4.3.0-dev X-Powered-By: PHP/4.3.0-dev Location: http://www.minnesota.com/~tom/php/redir/index2.php Connection: close Content-Type: text/html Using 4.2.2 ----------- # lynx -dump -head http://www.minnesota.com/~tom/php/redir/index.php HTTP/1.1 302 Found Date: Sat, 14 Dec 2002 18:17:29 GMT Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6g PHP/4.2.2 X-Powered-By: PHP/4.2.2 Location: http://www.minnesota.com/~tom/php/redir/index2.php Connection: close Content-Type: text/html --- In this case I don't think it's Mozilla or IE. ------------------------------------------------------------------------ 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/21004 -- Edit this bug report at http://bugs.php.net/?id=21004&edit=1

« previous php.bugs (#27807) next »