Re: Re: Search like php.net's URL thingy

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

 



> Why is an ErrorDocument "insufficient" or "not the elegant way"?
>> It accomplishes the goal in a clean way, no?
>>
>
> It's *WRONG*.  ErrorDocument still preserves the 404 error code, it just
> gives it a prettier face.  If the page really is there, returning a 404 for
> it is not correct.  Search engines will not index it.  You probably don't
> want that.


You may set it... so for example:

  header('HTTP/1.1 200 OK');

Regards,
Philip

[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