How to Configure RewriteRule for 2 Applications when Webcache is used Infront of HTTP Server? (Doc ID 1369987.1)

Last updated on JANUARY 31, 2017

Applies to:

Oracle Fusion Middleware - Version 10.1.3.4.0 and later
Information in this document applies to any platform.

Goal

What configuration changes needs to be done on HTTP Server end inorder to have 2 different applications running on HTTP server , whose sites are hosted on webcache, to be redirected to its own login page ( login page of these respective applications), when just the base URL is given for them?


For eg:-
1) 2 application URLs are :-
test1.oracle.com
and
test2.oracle.com
2) test1.oracle.com and test2.oracle.com are sites defined on webcache.
3) host1.oracle.com is the host name for the HTTP Server where application is deployed.
4) Webcache is running on port 80.
5) When users enter test1.oracle.com, it should redirect to test1.oracle.com/app1_login
6) And when users enter test2.oracle.com, it should redirect to test2.oracle.com/app2_login.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms