sanhutrees 发表于 2018-11-26 11:02:02

Apache与Weblogic整合

1、将mod_wl_20.so或mod_wl.so拷贝到apache的modules目录中(mod_wl_20.so为weblogic的转发模块)

2、在apache的http.conf文件中加入LoadModule weblogic_module modules/mod_wl.so。(windows下要吧

“/”改为“\”;Windows下要把modules改为libexec。如果无法跳转到目录,把主页index.htm改为

index.html。)

3、把这段加入到http.conf中

WebLogicHost 192.168.0.42#这里要改
WebLogicPort 7001
MatchExpression *.jsp   #把jsp页面转给weblogic处理
#MatchExpression *.html
MatchExpression *.cert
MatchExpression *.jpg
MatchExpression *.gif
#MatchExpression *.asp
MatchExpression *.css
#MatchExpression *.swf
MatchExpression DownloadServlet
MatchExpression rhstockgraphices


SetHandler weblogic-handler



SetHandler weblogic-handler


4、把http.conf中Apache指向的默认目录改为weblogic中的目录,及DefaultWebAppcation目录。



附件:http://down.51cto.com/data/2354018

页: [1]
查看完整版本: Apache与Weblogic整合