Posted by Sanders Kaufman on 09/24/07 09:52
"Michael Fesser" <netizen@gmx.de> wrote in message
news:uvhdf31uqqv668fsul7gt4ar7qmoi2mr15@4ax.com...
> .oO(Jensen Somers)
>
>>You will have to create a .htaccess file, put it in the websites root
>>folder and use the following line:
>>
>>ErrorDocument 404 http://www.mywebsite.tld/404.php
>
> _Don't_ use an absolute URL in an ErrorDocument directive unless you
> know exactly what you're doing. This will lead to a redirect and an
> additional request of the given document, which usually results in the
> status code 200 ("OK") sent back to the client instead of the correct
> error code.
>
> http://httpd.apache.org/docs/2.2/mod/core.html#errordocument
Thank you very much for that!
I'll fix mine right away.
There's also a WHOLE LOTTA extra HTAccess stuff in that link I'll be
studyin' on.
[Back to original message]
|