[thelist] [php] Redirect causing error 500

Joshua Olson joshua at waetech.com
Wed Feb 18 14:11:57 CST 2004


> -----Original Message-----
> From: Eduardo Dominguez
> Sent: Wednesday, February 18, 2004 3:39 PM

> Its crazy how a program this small gives such problems. Try to see if
> the webserver is not somehow sending other headers by itself. You can
> test it with the Web Developer toolbar[1] or the LiveHTttp headers[2],
> both mozilla's extensions.
>
> 1.- http://chrispederick.myacen.com/work/firefox/webdeveloper/
> 2.- http://livehttpheaders.mozdev.org/
>
> Reading the php manual found that you can also try:
>
>    header("Status: 301");
>
> after the Location header.

Eduardo,

Absolutely perfect solution.  I checked the headers in the browser and this
solution provided the right headers and didn't break the server.

Thanks a million!

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168




More information about the thelist mailing list