OraOpenSource / node4ords

Simple node app to act as web listener for Oracle APEX pages
http://www.oraopensource.com/node4ords/
MIT License
23 stars 5 forks source link

Functionality for home page redirection #32

Open tschf opened 7 years ago

tschf commented 7 years ago

Currently this is designed for development, in that if you specify a root path, it will take you to builder log in. For public internet facing applications, it would be good to redirect to the app home page rather than the app builder.

E.g.

Request URL Destination URL
https://www.example.com https://www.example.com/ords/f?p=HOME
https://www.example.com https://www.example.com/ords/f?p=101
https://www.example.com/ords https://www.example.com/ords/f?p=HOME
https://www.example.com/ords https://www.example.com/ords/f?p=101
https://www.example.com/ords/f?p=4550 https://www.example.com/ords/f?p=4550

..

Possible solution is to introduce a mapping for request paths, to their desired destination.