To configure the plug-in, modify the following iPlanet configuration files:
The iPlanet configuration files have strict rules about the placement of text. To avoid problems, note the following points:
The iPlanet configuration files for your iPlanet instance are found in the following location:
iplanet_home/https-instance_name/config/
where iplanet_home is the root directory of the iPlanet installation and instance_name is your particular server configuration.
Follow these steps:
To instruct iPlanet to load the libproxy.so file as an iPlanet module, add the following lines to the beginning of the magnus.conf file:
Init fn="load-modules" funcs="wl_proxy,wl_init"\ shlib=path in file system from step 1/libproxy.so Init fn="wl_init"
For example:
Init fn="load-modules" funcs="wl_proxy,wl_init"\ shlib=/usr/local/netscape/plugins/libproxy.so Init fn="wl_init"
The function load-modules tags the shared library for loading when iPlanet starts up. The values wl_proxy and wl_init identify the functions that the plug-in executes.
NameTrans fn=....
Add the following Service directive to the Object name="default" section:
Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn="wl-proxy"
Note: You may add this directive in a line following existing Service directives.
<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>
where hostname is the server name and domain of the system where you installed WebLogic and portnumber is the WebLogic port (default is 7001).
You may have more than one Object entry.
For example:
<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>
Copyright © 2013 CA.
All rights reserved.
|
|