Changing error messages

JQ Johnson jqj at darkwing.uoregon.edu
Mon Dec 4 10:35:12 EST 1995


>404 not found

How easy the text response associated with an error (servers send both)
is to change depends on the web server that generated it.  Most give
you quite a bit of flexibility.  For example, using NCSA httpd 1.4.x, I
see the following lines in srm.conf:

# If you want to have files/scripts sent instead of the built-in version
# in case of errors, uncomment the following lines and set them as you
# will.  Note: scripts must be able to be run as if the were called
# directly (in ScriptAlias directory, for instance)

# 302 - REDIRECT
# 400 - BAD_REQUEST
# 401 - AUTH_REQUIRED
# 403 - FORBIDDEN
# 404 - NOT_FOUND
# 500 - SERVER_ERROR
# 501 - NOT_IMPLEMENTED

#ErrorDocument 302 /cgi-bin/redirect.cgi
#ErrorDocument 500 /errors/server.html
#ErrorDocument 403 /errors/forbidden.html


 JQ Johnson                       office: 115F Knight Library
 Academic Education Coordinator   Internet: jqj at darkwing.uoregon.edu
 1299 University of Oregon        voice: 541.346.1746
 Eugene, OR  97403-1299           fax: 541.346.3485
 


More information about the Web4lib mailing list