Reply to Re: A broken link preventer

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация