Forum Moderators: phranque
ErrorDocument 404 /sorry.html
This will redirect all 404 requests to your own sorry.html. I have used this method with quite some success serving a copy of the sitemap of the main site as sorry.html.
Be sure to add the following line to the head section of the sorry.html file to prevent several copies of the file to be indexed in the search engines causing possible duplicate content penalties.
<meta name="robots" content="noindex,follow">
Some webhosting companies don't allow the use of .htaccess files. Others check for the existence of an .htaccess file every hour or so. This could be the case.
<added>
I have found the source which explains that internet explorer will display its internal error messages instead of the server generated message when the response message from the server is less than 512 bytes. It is knowledge base article Q218155 [support.microsoft.com] at the microsoft support website.
</added>