For WebCenter components that run on Oracle WebLogic Server, you can set Oracle HTTP Server (OHS) as the frontend to Oracle WebLogic Server. Some scenarios that require OHS as the frontend are:
For OSSO to function properly between Site Studio and Oracle Content Server UI. This is achieved through mod_osso
of OHS.
The adequate distribution of load across the Oracle WebLogic Server cluster nodes. This is achieved through mod_wl
of OHS.
OHS is also required for OAM's WebGate component.
OHS is used as a reverse proxy.
In these cases, you must configure the mod_wl_ohs
module to allow requests to be proxied from an OHS to Oracle WebLogic Server. For information, see the section "Configure the mod_wl_ohs Module on Oracle HTTP Server" in Oracle Fusion Middleware Administrator's Guide for Oracle HTTP Server.
After you have configured the mod_wl_ohs
module using the Fusion Middleware Control, the mod_wl_ohs.conf
file looks similar to Example B-1. The default location of this file is: OHS_HOME
/Oracle_WT1
/instances/
instance1
/config/OHS/ohs1/mod_wl_ohs.conf
.
Example B-1 WebCenter Spaces - Sample mod_wl_ohs.conf File
# WebCenter Spaces <Location /webcenter> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /webcenterhelp> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /rss> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /rest> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> # Discussions <Location /owc_discussions> SetHandler weblogic-handler WeblogicHost discuss.example.com WeblogicPort 8890 </Location> # SES Search <Location /rsscrawl> SetHandler weblogic-handler WeblogicHost ses.examplet.com WeblogicPort 7777 </Location> <Location /sesUserAuth> SetHandler weblogic-handler WeblogicHost ses.example.com WeblogicPort 7777 </Location> # Portlets <Location /portalTools> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8889 </Location> <Location /wsrp-tools> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8889 </Location> # Personalization <Location /wcps> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8891 </Location> # Activity Graph <Location /activitygraph-engines> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8891 </Location> # UCM # Web server context root for Oracle Content Server <Location /cs> SetHandler weblogic-handler WeblogicHost ucm.example.com WeblogicPort 16200 </Location> # Enables Oracle Content Server authentication <Location /adfAuthentication> SetHandler weblogic-handler WeblogicHost ucm.example.com # Same as /cs entry WeblogicPort 16200 # Same as /css entry </Location> # SAML SSO <Location /samlacs/acs>> SetHandler weblogic-handler WeblogicHost ucm.example.com WeblogicPort 16200 </Location> # BPEL Server <Location /workflow> SetHandler weblogic-handler WeblogicHost soa.example.com WeblogicPort 8001 </Location> # Virtual Hosts - Pagelet Producer <VirtualHost *:7777> ServerName pagelet-producer.example.com <Location /> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8889 </Location> </VirtualHost> # Virtual Hosts - Sharepoint <VirtualHost *:7777> ServerName webtier-spaces.example.com <Location /> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /webcenter> Deny from all </Location> <Location /webcenterhelp> Deny from all </Location> <Location /rest> Deny from all </Location> </VirtualHost>
If you have configured SSL, then the following additional directives are required:
WLProxySSL ON
WLProxySSLPassThrough ON
For example, mod_wl_ohs.conf
entries looks like Example B-2:
Example B-2 WebCenter Spaces - mod_wl_ohs.conf File with SSL Directives
# WebCenter Spaces <Location /webcenter> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 WLProxySSL ON WLProxySSLPassThrough ON </Location> <Location /webcenterhelp> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 WLProxySSL ON WLProxySSLPassThrough ON </Location> ...
Frontend Listening Host and Frontend Listening Port
If the Oracle HTTP Server (OHS) frontend is also the site entry point, use the Oracle WebLogic Server Administration Console to set the FrontEnd Host
and FrontEnd HTTP Port
for each server that uses the OHS frontend.