Re: 301 redirect returning 302 instead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have the lighttpd guys come up with any ideas?


On Nov 1, 2006, at 10:24 AM, ianevans@xxxxxxxxxxxxxx wrote:

Just a shot in the dark, but it's possible that providing a "Location" header resets the status response. Try swapping your two header calls.

Stut:
Flipping the headers doesn't work, unfortunately, running wget still shows
a 302 being returned.

Kris:
You need both headers. Just giving the Location would give a 302, when a
301 is the goal.

Just to add more info: We're running php as fastcgi under lighttpd. Doing a little searching I see that there is some weirdness with http headers when PHP is run as a CGI, but I can't seem to see any solutions out there. Obviously I can't be the ONLY person running this way, so there has to be
a solution out there.

--
Ian Evans
Chairman & Executive Producer
DigitalHit.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux