Re: Re: Problems with 301 redirects
| From: | Edin Kadribasic | Date: | Wed, 08 Nov 2006 10:17:46 +0000 |
| Subject: | Re: Re: Problems with 301 redirects | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26418@lists.php.net to get a copy of this message | ||
ianevans@digitalhit.com wrote:
>>> header("Location: http://...",false,301);
>>>
>> This works here with PHP 5.1.7-dev and 5.2.1-dev and mod_fastcgi.
>> Have you tried just that line? Without any HTTP/-header?
>>
>
> I've tried every combination. Just tried it again and it still returns a 302.
>
> BTW, not using mod_fastcgi as we're not running Apache...we're running
> lighttpd.
It is possible that this could be an issue with interaction between PHP
and lighttpd. I would contact the lighttpd folks and see if this might
be the case. I had some issues with headers and redirects using lighttpd
which turned out to be problems with the web server itself.
Edin