How To Overwrite The Content of The Response Coming From Backend Server In Oracle iPlanet Web Server 7.0? (Doc ID 2074773.1)

Last updated on APRIL 03, 2017

Applies to:

Oracle iPlanet Web Server - Version 7.0 and later
Information in this document applies to any platform.

Goal

There are often times when we want to customize the content delivered to the clients for situations where the backend server is not behaving properly and responds with status code like 404, 503, 500 etc.  How to configure the web server so that a customized content can be passed to the clients for such situations?

Note that a common misconception is calling send-error SAF to deliver a custom message as shown below:


However this won't work. Because when SAF service-passthrough receives any response from origin server, the web server will immediately send the response back to client and then complete the request. The send-error Error SAF won't get executed.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms