Monday, March 26, 2018

How to foward URL from HTTP(80) to HTTPS(443) using Apache (OHS) running in front of Hardware Load balancer

Prerequisites : 

Make sure all services up and running in Oracle Access Manager and Accessgate. 

The request which comes to the Actual_accessgate_host:7777 port in Oracle Http Server will forward to DNS_accessgate:443.

Please see the below configuration:

1. Shutdown the opmn services

2. Go to $ORACLE_INSTANCE/config/OHS/ohs3/moduleconf

3. Create a file as virtual_hosts.conf

4. Enter the below entries to virtual_hosts.conf file.

NameVirtualHost *:7777
<VirtualHost *:7777>
    ServerName https://<accessgateURL>:443
    RewriteEngine On
    RewriteOptions inherit
    UseCanonicalName On
</VirtualHost>

5. After the above step restart Apache opmn.

Go to $ORACLE_INSTANCE/config/

]$ ./opmnctl start

No comments:

Post a Comment