Posted by Marek Kilimajer on 06/28/05 14:20
Jasper Bryant-Greene wrote:
> Jochem Maas wrote:
>
>>>header('HTTP/1.1 301 Moved Permanently');
>>
>>
>>also consider that using 'Status' may be better or possibly both to cover
>>you bases, e.g.:
>>
>>
>><?php
>>
>> header("HTTP/1.1 301 Moved Permanently");
>> header("Status: 301 Moved Permanently");
>>
>>?>
>
>
> Waste of time. Go read the HTTP spec. Apologies for missing the typos, I
> was rather in a hurry. The point is, it wasn't a 301 redirect.
It's not really a waste of time. Some apache/php configurations accept
only the first form, some only the second.
[Back to original message]
|