This page allows you to specify a custom error response for this part of the
server. You can specify a file to send back with errors, or you can specify
a CGI script to run.
You may want to change the way a directory behaves when it gets an error.
Instead of sending back the default file, you may want to send a custom
error response instead. For example, if a user tried to repeatedly connect
to a section of your server protected by access control,
and failed, you could have the error file be returned with information on
how to get an account.
There are several different kinds of errors that you can customize the
server's response to:
- Unauthorized
- This error occurs when a user tries to access a section of the server
protected by access control and eventually fails.
You might put information on how to become a member on this page.
- Forbidden
- This error occurs when the server does not have file system permissions
to read something, or if the server is not permitted to
follow symbolic links.
- Not Found
- This error occurs when the server cannot find a document it is looking
for - or when it has been instructed to deny the
existence of a document to certain addresses.
- Server Error
- This error occurs when the server is misconfigured or when a
catastrophic error occurs such as a core dump or the system running
out of memory.
Select the error response you want to customize. Add an absolute pathname
to the file you want to return on that error code. Check the checkbox if
this is a CGI program that you want to be executed.
To remove a customization, simply delete the filename from the text box
next to the error code.