Computer House Home PageList of products and servicesDrivers, Utilities, Info and More!Learn more about Computer House

 How do I configure custom error pages?

 
Answer
 
To setup custom error pages, do the following:

1. download your srm.conf file in ASCII format (located at /www/conf) and find the following lines:

# 2) local redirects
#ErrorDocument 404 /missing.html
# to redirect to local url /missing.html

2. Change it to
# 2) local redirects
ErrorDocument 404 /missing.html
# to redirect to local url /missing.html

3. You can name a file you have created yourself if you like. Other redirects you can use are:

# "400 Bad Request",
ErrorDocument 400 /400.htm
#
# "401 Authorization Required",
ErrorDocument 401 /401.htm
#
# "403 Forbidden",
ErrorDocument 403 /403.htm
#
# "404 Not Found",
ErrorDocument 404 /404.htm
#
# "500 Internal Server Error",
ErrorDocument 500 /500.htm
 
Related Links
 
More information on Apache and the configuration files can be found at the following locations:

http://www.apache.org
Back to Index

The Computer House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776

Copyright © 2001 Computer House, Inc. All Rights Reserved.