balaschen 发表于 2013-1-16 02:33:06

redhat as4 weblogic92 apache plugin配置

1、编译apache2.24,注意添加 --enable-so参数,启用DSO
2、检查是否启用DSO : httpd -l
3、把weblogic92/server/linux/i686/mod_wl_22.so拷贝到apache的modules目录下
4、修改httpd.conf文件,添加以下内容:
LoadModule weblogic_module modules/mod_wl_22.so

  WebLogicHost 127.0.0.1
  WebLogicPort 7001
  #WebLogicCluster  192.168.1.78:7001,192.168.1.78:7002
  Debug  ON
  KeepAliveEnabled true
  MatchExpression *


  SetHandler weblogic-handler
  WebLogicHost 127.0.0.1
  WebLogicPort 7001
  #WebLogicCluster  192.168.1.78:7001,192.168.1.78:7002
  #PathTrim  /weblogic

注意:当同时启动Location和MimeType时,优先使用Location,cluster的环境,使用WebLogicCluster参数,非cluster的环境,使用WebLogicHost和WebLogicPort参数
页: [1]
查看完整版本: redhat as4 weblogic92 apache plugin配置