My Oracle Support Banner

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

Last updated on SEPTEMBER 11, 2023

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 differentiated 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.