Web Hosting Talk







View Full Version : custom 404 error pages


apollo
09-15-2002, 03:24 PM
Is there a solution to prevent displaying IE own 404 error pages?

JohnCrowley
09-15-2002, 03:29 PM
Sure.

If using Apache webserver, put this in your .htaccess file:

ErrorDocument 404 /missing.html

Then just upload a page named missing.html, and this will replace it. Note that IE has a minimum byte value that must exist in the 404 page, so make sure you have a few lines of text and a graphic just to be sure. :)

- John C.

Rebies
09-15-2002, 04:21 PM
In IIS go to the "Custom Errors" tab and specify the custom page you want to be displayed there.

apollo
09-16-2002, 04:33 PM
oke...probably that IE 'feature' about the length...