Set up customized error messages on HTTP Server (powered by Apache)

This topic provides information about how to set up customized error messages for your HTTP Server with the IBM® Web Administration for i5/OS™ interface.

Important: Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . It is recommended that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm Link outside Information Center for more information.

The server has default messages that are displayed to the user when an error occurs. You can change these messages to better suit your particular needs. For example, you can change a message to include more information about the cause of the problem and suggest possible solutions for it. For internal networks, you might provide a contact person for your users to call.

To customize your messages, do the following:

  1. Click the Manage tab.
  2. Click the HTTP Servers subtab.
  3. Select your HTTP Server (powered by Apache) from the Server list.
  4. Select the context you want to work with from the Server area list.
  5. Expand Server Properties.
  6. Click HTTP Responses.
  7. Click the Error Message Customization tab in the form.
  8. Select how you want to append the generated footer onto error messages. Depending on the server area you select, you may, optionally, select Inherit.
  9. Select an error code from the Custom messages from error codes table or click Add to add a new error message.
  10. Click OK.

If your messages may be displayed in the Microsoft® Internet Explorer browser, see Symptom: Web browser problems with HTTP Server.