要配置此插件,请修改下列 iPlanet 配置文件:
iPlanet 配置文件对文本位置有严格规则。 要避免这些问题,请注意以下几点:
可在下列位置找到 iPlanet 实例的 iPlanet 配置文件:
iplanet_home/https-instance_name/config/
其中,iplanet_home 是 iPlanet 安装的根目录,而 instance_name 则是特定服务器的配置。
遵循这些步骤:
若要让 iPlanet 将 libproxy.so 文件作为 iPlanet 模块加载,请将下列行添加到 magnus.conf 文件的开头:
Init fn="load-modules" funcs="wl_proxy,wl_init"\ shlib=path in file system from step 1/libproxy.so Init fn="wl_init"
例如:
Init fn="load-modules" funcs="wl_proxy,wl_init"\ shlib=/usr/local/netscape/plugins/libproxy.so Init fn="wl_init"
函数 load-modules 将共享库标记为在 iPlanet 启动时加载。 值 wl_proxy 和 wl_init 指定插件所要执行的函数。
NameTrans fn=....
将下列 Service 指令添加到“Object name="default"”部分:
Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn="wl-proxy"
注意:您可以在现有的 Service 指令的下一行中添加此指令。
<Object name="idm" ppath="*/iam/*">"> Service fn="wl-proxy" WebLogicHost="hostname" WebLogicPort="portnumber" PathTrim="/weblogic" </Object> <Object name="weblogic1" ppath="*/console*"> Service fn="wl-proxy" WebLogicHost="hostname" WebLogicPort="portnumber" PathTrim="/weblogic" </Object>
其中,hostname 是安装了 WebLogic 的系统的服务器名和域,portnumber 则是 WebLogic 端口(默认为 7001)。
您可能拥有多个对象条目。
例如:
<Object name="idm" ppath="*/iam/*">"> Service fn="wl-proxy" WebLogicHost="MyServer.MyCompany.com" WebLogicPort="7001" PathTrim="/weblogic" <Object name="weblogic1" ppath="*/console*"> Service fn="wl-proxy" WebLogicHost="MyServer.MyCompany.com" WebLogicPort="7001" PathTrim="/weblogic" </Object>
|
版权所有 © 2015 CA Technologies。
保留所有权利。
|
|