Overview of the custom error page policy

The custom error page policy is a feature that enables the proxy server to use an application to generate an HTTP error response. With this capability, the administrator can return a polished error page when the proxy server generates an error, or when a content server returns an unsuccessful response.

The following action describes scenarios for how the error page policy is used when it is configured: A sample error application is available in the <WAS_INSTALL_ROOT>/installableApps/HttpErrorHandler.ear file.
Avoid trouble Avoid trouble: When you configure the on demand router to use a custom error handling application, enter the following tag in the <Head> section of the html page:
<Base href="http://<Server>/<ErrorPageAppContextRoot>/" />
For <Server>, use a value specific to your topology. In most cases <Server> is the on demand router. You can get this information from the servlet API.

For <ErrorPageAppConextRoot> , enter the context root for your error handling application.

This configuration helps you prevent issues when displaying the error information.

gotcha
Concept topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=cjpx_ceppolicy
File name: cjpx_ceppolicy.html