config weblogic 9.1 & apache 2.2

 file structure:
"C:/Program Files/Apache Software Foundation/Apache2.2" is the Home directory of Apache. if you have install Apache2.2 in a different place, change this accordingly.

1. copy mod_wl_22.so to C:/Program Files/Apache Software Foundation/Apache2.2/modules
    mod_wl_22.so was not included in  weblogic 9.1, so it must be obtained from the internet , also There is a mod_wl_22.so in download.csdn.net.

2. modify C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf.
    add following lines in httpd.conf

<IfModule mod_weblogic.c>
Include conf/extra/weblogic.conf
</IfModule>


3. create a file in directory  C:/Program Files/Apache Software Foundation/Apache2.2/conf/extra/weblogic.conf , edit the content of the file weblogic.conf to the following: assume that the weblogic's location is : localhost:7001 ,and the web application's name is myweblogicweb

WebLogicHost localhost
WebLogicPort 7001
KeepAliveEnabled ON 
<Location /myweblogicweb>
 SetHandler weblogic-handler
</Location>
ProxyPass /myweblogicweb !



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章