My Oracle Support Banner

Custom 404 Error Page is not Shown for Incorrect Portal URLs (Doc ID 399972.1)

Last updated on DECEMBER 16, 2016

Applies to:

Portal - Version to [Release 10gR2]
Information in this document applies to any platform.


Custom 404 Error page is not respected by Portal, while the same was respected in Portal.

As a result, when entering an incorrect Portal URL, i.e.
     (Note, the L is missing from the end of the URL)
The standard 404 error page is displayed instead if the custom error page.

When accessing an incorrect URL that is not a Portal URL, i.e.
Then the custom error page is returned.

As a result of this problem the incorrect Portal URLs show the standard error page instead of the customized error page.

Steps To Reproduce:

  1.  Create a custom 404 error page (missing.html) file with the following code:
      This is my custom 404 Error
  2. Save this file under Midtier_Home/Apache/Apache/htdocs.
  3. Edit the httpd.conf from EM and add the following line:
    ErrorDocument 404 http://<host>:<port>/missing.html
  4. Restart the HTTP Server.
  5. Try the following URLs:
    Notice that the custom 404 error will be displayed.
    Notice that the standard 404 error will be displayed.
  6. Edit the dads.conf from the EM. Add the following parameter:
    PlsqlErrorStyle ApacheStyle
  7. Update the DCM repository:
    dcmctl updateconfig
  8. Restart the HTTP Server.
  9. Notice that the behavior is the same.





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

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