How
to Redirect Oracle E-Business Suite 11i index.html page, directly to the Login
Page (/oa_servlets/AppsLogin) and R12 redirect url change
To get direct login page in 11i with
out showing the E-Business Home Page link and OAM
=======================================================================================
Login Flow in E-Business Suite 11i
1. When user access http(s)://<host_name>.<domain_name>:<web_port>, Apache Web Server then displays the Oracle Applications Rapid Install Portal page which has links for Rapid Install Setup home, Apps Logon links, 11i online help, and machine admin scripts on the left sidebar.
2. When user clicks on Apps Logon links, it shows links for Oracle E-Business Home Page and OAM on
the right pane.
3. Once user clicks on the Oracle E-Business Home Page link, the request is forwarded by Apache to
Jserv. Jserv sends it to Appslogin servlet
This is a shortcut defined in zone.properties as below
servlet.AppsLogin.code=oracle.apps.fnd.sso.AppsLogin
In this flow the static HTML pages which comes on accessing http(s)://<host_name>.<domain_name>:<web_port> is index.html
It is referred in httpd.conf at following location:
DirectoryIndex index.html
Hence, So if you want to redirect directly to AppsLogin then write your own html with the redirect
code and use it as the default html file for E-Biz Apache Web Server.
Get the physical location of index.html file using DocumentRoot directory from following tag
in httpd.conf e.g.
DocumentRoot "f:\oat\app\testcomn\portal\TEST_atgat"
Copy this index.html to index_custom.html (at the same directory) and modify the code to have
following lines:
<html>
<HEAD>
<TITLE>E-Business Suite Home Page Redirect</TITLE>
<META http-equiv=REFRESH content="1; URL=http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin">
</HEAD>
<body>
<DIV ID="content">
The E-Business Home Page is located at <a
href="http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin">
http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin</a><br>
If your browser doesn't automatically redirect to its new location, click
<A HREF="http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin">here</A>.
</DIV>
</body>
</html>
4. Replace index_custom.html in httpd.conf so that it can be used instead of index.html
5. Bounce Apache and retest the issue.
In addition, it is advised to edit the CONTEXT_FILE and change the value for the entry "s_directory_index" to index_custom.html so that changes can be protected against when running autoconfig.
To change the redirect url in R12
=================================
1.Open the index.html file and globally change the AppsLogin value with the <custom>.jsp
ex: http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin to http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/IrcVisitor.jsp
2. Retest the url redirect.
=======================================================================================
Login Flow in E-Business Suite 11i
1. When user access http(s)://<host_name>.<domain_name>:<web_port>, Apache Web Server then displays the Oracle Applications Rapid Install Portal page which has links for Rapid Install Setup home, Apps Logon links, 11i online help, and machine admin scripts on the left sidebar.
2. When user clicks on Apps Logon links, it shows links for Oracle E-Business Home Page and OAM on
the right pane.
3. Once user clicks on the Oracle E-Business Home Page link, the request is forwarded by Apache to
Jserv. Jserv sends it to Appslogin servlet
This is a shortcut defined in zone.properties as below
servlet.AppsLogin.code=oracle.apps.fnd.sso.AppsLogin
In this flow the static HTML pages which comes on accessing http(s)://<host_name>.<domain_name>:<web_port> is index.html
It is referred in httpd.conf at following location:
DirectoryIndex index.html
Hence, So if you want to redirect directly to AppsLogin then write your own html with the redirect
code and use it as the default html file for E-Biz Apache Web Server.
Get the physical location of index.html file using DocumentRoot directory from following tag
in httpd.conf e.g.
DocumentRoot "f:\oat\app\testcomn\portal\TEST_atgat"
Copy this index.html to index_custom.html (at the same directory) and modify the code to have
following lines:
<html>
<HEAD>
<TITLE>E-Business Suite Home Page Redirect</TITLE>
<META http-equiv=REFRESH content="1; URL=http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin">
</HEAD>
<body>
<DIV ID="content">
The E-Business Home Page is located at <a
href="http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin">
http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin</a><br>
If your browser doesn't automatically redirect to its new location, click
<A HREF="http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin">here</A>.
</DIV>
</body>
</html>
4. Replace index_custom.html in httpd.conf so that it can be used instead of index.html
5. Bounce Apache and retest the issue.
In addition, it is advised to edit the CONTEXT_FILE and change the value for the entry "s_directory_index" to index_custom.html so that changes can be protected against when running autoconfig.
To change the redirect url in R12
=================================
1.Open the index.html file and globally change the AppsLogin value with the <custom>.jsp
ex: http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/AppsLogin to http(s)://<host_name>.<domain_name>:<web_port>/OA_HTML/IrcVisitor.jsp
2. Retest the url redirect.
0 comments:
Post a Comment