Posted by Philip Ronan on 12/06/05 16:15
"Steve Pugh" wrote:
> Krustov wrote:
>
>> TMK if a website uses custom 404 pages then it wont show up as a broken
>> link .
>
> Sometimes yes. But well configured web servers return 404 headers even
> when displaying a custom 404 page. There are, of course, many badly
> configured web servers out there.
I think the most common mistake is to use a fully qualified URL in the
ErrorDocument directive. For example:
ErrorDocument 404 http://example.com/error-docs/not_found.html
will cause the server to issue a 301 redirect header to the error page when
it can't find the requested document. The eror page will then be served with
a '200 OK" header.
It's all explained in the Apache documentation.
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
[Back to original message]
|