This document provides instructions for configuring Oracle HTTP Server (OHS) to redirect requests to specific WebLogic servers. It describes stopping the OHS services, adding new server entries to the mod_wl_ohs.conf file, and specifying the IP address and port for each server. Examples are given showing how to configure OHS for single servers and WebLogic clusters. The author is then introduced as an Oracle expert who publishes articles on Oracle products.
This document provides instructions for configuring Oracle HTTP Server (OHS) to redirect requests to specific WebLogic servers. It describes stopping the OHS services, adding new server entries to the mod_wl_ohs.conf file, and specifying the IP address and port for each server. Examples are given showing how to configure OHS for single servers and WebLogic clusters. The author is then introduced as an Oracle expert who publishes articles on Oracle products.
This document provides instructions for configuring Oracle HTTP Server (OHS) to redirect requests to specific WebLogic servers. It describes stopping the OHS services, adding new server entries to the mod_wl_ohs.conf file, and specifying the IP address and port for each server. Examples are given showing how to configure OHS for single servers and WebLogic clusters. The author is then introduced as an Oracle expert who publishes articles on Oracle products.
This document provides instructions for configuring Oracle HTTP Server (OHS) to redirect requests to specific WebLogic servers. It describes stopping the OHS services, adding new server entries to the mod_wl_ohs.conf file, and specifying the IP address and port for each server. Examples are given showing how to configure OHS for single servers and WebLogic clusters. The author is then introduced as an Oracle expert who publishes articles on Oracle products.
After I wrote about oracle webTier Installation, I will share in this document how to configure OHS to redirect request to specific server.
Oracle WebTier Overview Here Oracle WebTier Download Here.
The Installation Path: /u01/app/fmw/Oracle_WT1 Instance Path: /u01/app/fmw/admin/
Configure WebTier OHS for Redirect
Osama Mustafa Page 2
About the Author
Osama Mustafa Oracle ACE, a database specialist, Certified Oracle Professional (10g, 11g), Certified Ethical hacker (Penetration testing), and Sun System Administrator, author of book Oracle Penetration Testing. Publishes many articles, including Oracle database articles in his blog,Fusion Middle Ware and Oracle RAC Documentation, Including to this he is Active Member On Oracle OTN and other Groups.
Shutdown All OHS Services Using opmnctl command cd /u01/app/fmw/admin/ohs1/bin ./opmnctl stopall
Add new server entire inside mod_wl_ohs.conf cd /u01/app/fmw/admin/ohs1/config/OHS/ohs1/ vi mod_wl_ohs.conf
Configure WebTier OHS for Redirect
Osama Mustafa Page 4
mod_wl_ohs.conf example:
# NOTE: This is a template to configure mod_weblogic. LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so" # this empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level <IfModule weblogic_module> # <Location > # SetHandler weblogic-handler # WebLogicHost # WeblogicPort #</Location>
</IfModule>
Dont Remove Anything
Copy Location tag and paste below <Location /console> SetHandler weblogic-handler WebLogicHost Server-IP WeblogicPort Port for Server components </Location>
Server IP: should be IP for the server that contains products. Server components: for example default port for weblogic 7001 you should add it.
Getting Started with Oracle WebLogic Server 12c: Understand Java EE 6, JDK 7, and Oracle WebLogic Server 12c concepts by creating a fully-featured application with this step-by-step handbook