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

Re: [cobalt-users] ErrorDocument 404 not working



on 3/3/00 3:09 AM, Ali & Charlie at dynamicduo@xxxxxxxxxxxxxxxx wrote:

> Hi,
> Some of our customers have requested their own ErrorDocument 404 and we have
> edited the httpd.conf file without any problems in the past adding this line
> ErrorDocument 404 /fileNotFound.html and they have been working fine. We
> just did this for another customer yesterday and it will not work in MS but
> works fine in Netscape. The only difference between this domain and the
> other domains is that this one does not include the FrontPage extensions.
> The domains are all name based and we are really puzzled why it is not
> working for this particular site. What could be the reason for this and how
> could be resolve this?

The problem is a result of the error document and the stuff on the page
(images, etc.) being smaller than Microsoft's threshold.  They replace
really small pages (which they assume MUST be error messages) with their own
error messages for consistency of the interface.

Add something like this to the page (how much filler will depend on the rest
of the page--I don't remember the threshold for the size.  I think it is
like 1024 bytes):
<!--
fillerfillerfiller
...
...
fillerfillerfiller
-->

Should then work.

-k