How To Customize The Errors Returned By MOD_PLSQL And Create An Apology Page (Doc ID 1072888.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle HTTP Server - Version 10.1.2.0.2 to 12.2.1.0.0 [Release AS10gR2 to 12c]
Information in this document applies to any platform.

Goal

When a PLSQL request fails we just get an HTTP 404 error in the browser if the PlsqlErrorStyle directive has the default value of ApacheStyle, or we can have a more meaningful debug error if we set the value to DebugStyle. The HTTP 404 error can not be diferentiated from a generic Page Not Found error.

The purpose of this note is to show how we can create a customized application apology page when a MOD_PLSQL error condition occurs.

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