Oracle HTTP Server ErrorDocument Directive does not Work (Doc ID 560358.1)

Last updated on FEBRUARY 16, 2017

Applies to:

Oracle HTTP Server - Version 10.1.2.0.2 to 10.1.3.4.0 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.
Microsoft Internet Explorer


Symptoms

The objective is to customize the error pages returned by HTTP Server - in particular HTTP-404 and HTTP-500.

For example, the following directives have been added to the httpd.conf

ErrorDocument 404 /errordocs/errorpage-1.html
ErrorDocument 500 /errordocs/errorpage-2.html

When testing by issuing a request to force one of the above errors, the browser still returns the standard error e.g request a non-existent document, the standard 404 error is returned rather than the custom error page.

Changes

MS Internet Explorer may be the client browser
and/or
The application generating the error is fully or partly deployed in an OC4J instance e.g

Cause

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