Imbris, Inc - Taking the Internet by Storm!  

610 W Hubbard, Suite 125
Coeur d'Alene, ID 83814
Customer Support

Error Document Customization

Custom Error Documents

Custom Error Documents

If the file does not already exist in your /public_html directory, create one called

.htaccess

 

Add the following three lines in that file:
ErrorDocument 403 /403error.html
ErrorDocument 404 /404error.html
ErrorDocument 500 /500error.html

The next step is to create your three custom files.

 

403error.html is used when the viewer is trying to access restricted files. Sample text to include would be:

403 Error - Forbidden!
Access Denied! You do not have permission.

404error.html is used when the viewer enters a file name that does not exist or is missing. This is the most common error. Sample text to include would be:

404 Error - Document Not Found!
The document you are attempting to access on this server does not exist.

500error.html is used when the view calls a program (usually a CGI) that is misconfigured or cannot execute for some reason. Sample text to include would be:

500 Error - Internal Server Error!
The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Copyright © 2000 IMBRIS, Inc., All Rights Reserved
No part of this website may be duplicated or used in any way without prior consent.