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!
HI Damir,
ReplyDeleteI have this problem:
my apex app have this URL:
http://apex.mydomain.local:7778/pls/apex/f?p=115
i would like to have
apex.mydomain.com but i cannot hide the apex app id, es. 115.
es. apex.mydomain.com/f?p=115
Can you help me??
Tanks.
Alan G.
Here is explained how to manage initial url.
DeleteIf you want permanent hiding you have to write rule with regular expression in that case.
Rg
Damir
This comment has been removed by the author.
ReplyDelete