Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTTP 404 error

Chintan GandhiApr 13 2012 — edited Apr 16 2012
I've an APEX application which I want to be redirected to HOME page when a user enters erroneous URL. To fix this, I've put ErrorDocument 404 /f?p=SITE1:HOME in httpd.conf file and then re-started Apache.

Now I'm facing below 2 issues and with my limited knowledge on server configuration, I'm not able to resolve them. Can anyone please advice on it?

1. Now it is able to redirect some of the incorrect URLs to HOME page but for some incorrect URLs, it still returns HTTP 404 error.

2. Besides, I've 2 apex sites on the same APACHE with different alias' say http://mysite1.com and http://mysite2.com. And I want to fix HTTP 404 for only Mysite1 i.e. to fix it only when user enters incorrect URL on Mysite1 then he should be redirected to its home page.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2012
Added on Apr 13 2012
4 comments
456 views