Edit Custom Error Responses

A custom error response sends a detailed message to clients when they encounter errors from a virtual server. Use this page to specify a file to send or a CGI program to run for each HTTP code.

The following table describes the fields and buttons on the page. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

Editing

Choose Entire Server to apply your change to the whole virtual server, or navigate to a specific directory within a virtual server.

Error Code

Displays the following error codes which you can customize:

  • Unauthorized. Specifies the file to display when users without access permissions try to access a document on the virtual server that is protected by access control. You might send information on how they can get access.

  • Forbidden. Specifies the file to display 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. Specifies the file to display when the server cannot find a document or when it has been instructed to deny the existence of a document.

  • Server Error. Specifies the file to display when the server is not configured properly or when a catastrophic error occurs, such as the system running out of memory or producing a core dump.

File

Specifies the files that contain your customized error messages.

To remove a customization for an error code, delete the filename from the File field.

CGI

Specifies that the file that you specified is a CGI script.

OK

Saves your changes.

Reset

Resets the values on the page to the default values.


Legal Notices