Friday, September 26, 2008

How to Simplify Full URL of a Oracle AS Portal Instance?

You can simplify the full URL created by the OracleAS Portal installation to a more memorable or meaningful URL using the Redirect directive. In this way, end users can access OracleAS Portal by entering a simple URL.
By default, the URL for a new OracleAS Portal installation requires you to enter:

http://hostname:portno/pls/dad

You can simplify this URL to:

http://hostname:portno/redirectpath

Steps to do
1. Open the Oracle HTTP Server configuration file, httpd.conf, which is located in
the following directory: $ORACLE_HOME/Apache/Apache/conf/

2. Enter the redirect path as follows:
Redirect /DADnamepath http://:/pls/dad
For e.g.
Redirect /portalhome http://mysite.oracle.com/pls/portal

In this example, end users can enter:
http://mysite. hostname.com/portalhome

to access the full URL, which is:
http://mysite. hostname.com/pls/portal

The example http://mysite.hostname.com/portalhome assumes that the default port 80 is
being used. If the default port is not being used, then the user would have to enter the URL
with the port number, http://mysite. hostname.com:portno/portalhome

No comments:

Post a Comment