http://<hostname>:<port>
to the default APEX application URL (APP_ID =1001)
http://<hostname>:<port>/apex/f?p=1001
The Solution
- You will need to add the RewriteRule directives to the httpd.conf file inside the virtual host that was configured to listen on mentioned <port>.
RewriteEngine on RewriteLog logs/rewrite.log RewriteRule ^/$ /apex/f?p=1001 [R] RewriteRule ^/index.html$ /apex/f?p=1001 [R]
- Restart HTTP Server so changes will take effect.
- Test accessing http://<hostname>:<port>, it should redirect you to the APEX application page.
Redirect to non default page
If you want to start specific application page (non default) change:RewriteRule ^/$ /apex/f?p=1001 [R] RewriteRule ^/index.html$ /apex/f?p=1001 [R]to
RewriteRule ^/$ /apex/f?p=1001:xxx [R] RewriteRule ^/index.html$ /apex/f?p=1001:xxx [R]where xxx is Apex page number you want to start.
The End
This is nothing but making one official reminder for future reference ...Hope this helps someone.
Cheers!