After installing Oracle HTTP Server 10g Webgate for Oracle Access Manager, you must configure the Web server to forward requests to the applications deployed on the WebLogic Server.
Open the mod_wl_ohs.conf
, which is located in <OHS_Instance_Home>/config/OHS/<Instance_Name>
, in a text editor and add appropriate entries, as in the following example:
<IfModule weblogic_module> <Location /oamconsole> SetHandler weblogic-handler WebLogicHost examplehost.exampledomain.com WebLogicPort 6162 </Location> <Location /apmconsole> SetHandler weblogic-handler WebLogicHost examplehost.exampledomain.com WebLogicPort 6162 </Location> </IfModule>
Add similar Location entries for all the URIs for all the applications that were previously accessed directly on WebLogic Server.
After making the changes, restart Oracle HTTP Server. You can use the OPMN command-line tool to start or stop your Oracle HTTP Server instance. If any instances are running, run the following command on the command-line to stop all running instances:
<Oracle_Home_for_Oracle_HTTP_Server>/opmn/bin/opmnctl stopall
To restart the Oracle HTTP Server instance, run the following commands on the command line:
<Oracle_Home_for_Oracle_HTTP_Server>/opmn/bin/opmnctl start
<Oracle_Home_for_Oracle_HTTP_Server>/opmn/bin/opmnctl startproc ias-component=<Oracle_HTTP_Server_Instance_Name>