In the integration of Web server and application server, the integration of Apache and WebLogic is the most common and the most basic integration is configured today: Apache 2.0weblogic 8.11. Copy mod_wl_22.so from WebLogic to Apache Modules Directory (* Note: weblogic8.1 is not for apache2.2 version of mod_wl_22.so, only for apache2.0 version of Mod_wl_20.so, Need to be from somewhere else such as down one) 2. Configure the httpd.conf file under Apache (1) <directory "application directory" ></directory>//Configure access Path when Apache starts (2) <ifmodule dir_module> DirectoryIndex index.htm // Configure default Access files for Apache </IfModule> (3) LoadModule Weblogic_module modules/mod_wl_22.so Module for loading WebLogic (4) <ifmodule mod_weblogic.c> Weblogichost 127.0.0.1//Configuring the application's host address Weblogicport 7001//Configuration port MatchExpression *.jsp//configuration matching file MatchExpression *.DO&NB sp; matchexpression */portal/* &NBSP; </IfModule> (Note 4 is the provisioning service is configuration, configure the Cluster service
<ifmodule mod_weblogic.c> weblogiccluster 192.168.0.100:7001,192.168.0.52:7001//Addr+port for each application under the cluster MatchExpression *.jsp matchexpression * * matchexpression * </IfModule>)
***************************************************************************************************************
1. Integration, add the following section to the Apache httpd.conf file. LoadModule weblogic_module modules/mod_wl_20.so<ifmodule mod_weblogic.c>weblogichost localhostWebLogicPort 7001MatchExpression *.jspmatchexpression *.domatchexpression *.comdynamicserverlist offkeepaliveenabled Onkeepalivesecs 30</ifmodule>2.apache supports SSI. Add shtml part slightly (general Apache is supported by default), and mainly add support in httpd.conf includes<directory/> Options followsymlinks includes Allowov Erride none</directory>
*************************************************************************************************************** *********
This weekend, do not want to sleep so early in the evening, simply to study some small things, as a kind of fun. Think about it, a long time ago have been looking at some articles about WebLogic and Apache, but there has been no need for such implementation, but it suddenly occurred to me today that the IHS (IBM Http Server) was always integrated with WebSphere, So also to engage in the integration of Apache and WebLogic.
Hardware environment: IBM r50e (classic car notebook) Software environment: Windows XP SP2, Weblogic 9.2 Chinese version, Apache_2.0.63-win32-x86-openssl-0.9.7m.msi
STEP1, install WebLogic and Apache, this naturally don't have to say, but to remind everyone, install WebLogic time, to use custome way, will plugin hook, otherwise you will not find the Apache need files.
STEP2, copy the file, take the actual path installed on my machine as an example: Copy the mod_wl_20.so file from the C:\bea\weblogic92\server\plugin\win\32 directory to the C:\Pro Gram Files\apache group\apache2\modules under this directory.
STEP3, modify the Apache httpd.conf file to add the following: LoadModule weblogic_module modules/mod_wl_20.so<ifmodule mod_weblogic.c> Include conf/weblogic.conf</ifmodule>
STEP4, add the file weblogic.conf in the same directory as httpd.conf (this is the file defined in step 3rd), as follows: # weblogic.conf fileweblogichost localhost #看看这里, Our Apache can also not install the same machine with WebLogic Weblogicport 7001matchexpression/ddns #比如这是WebLogic上发布的应用的Web rootmatchexpression *. Jspmatchexpression *.dowllogfile/tmp/wlproxy.log Note, this file is best not to have extra space and other things, or Apache startup may error.
(matchexpression/picquery)-----Use Apache as an agent to access waybill
STEP5, restart Apache, test. For example, the address originally entered is: Http://192.168.1.30:7001/index_zh_CN.jsp now only with the input address: http://192.168.1.30/index_zh_CN.jsp See the screen, indicating success, has been forwarded through Apache.
The integration of Apache and WebLogic