Configure WebLogic port forward on iPlanet Webserver

Here’s the guide on how to setup weblogic cluster port forward on iPlanet web server

 

this is based on Linux installed Oracle iPlanet Web Server version 7.0

 

you can edit the configuration file to achieve this settings

go to iPlanet web instance config directory

cd ~iPlanetDirectory/https-web_instance/config/

 

look for web instance obj.conf file

vi ./web_instance-obj.conf

 

Here’s how you can put weblogic proxy on default landing page

<Object name=”default”>

Service method=”(GET|HEAD|POST)” fn=”wl_proxy” WebLogicCluster=”server1:11111,server2:11111″ PathTrim=”/” CookieName=”SESSION_ID”

</Object>

 

Here’s how you can put weblogic proxy on specific physical path below /api/

example.com/api/

<Object name=”api” ppath=”*/api/*”>

PathCheck fn=”set-cache-control” control=”no-cache”

Service fn=”wl_proxy” WebLogicCluster=”server1:11112,server2:11112″ PathTrim=”/api” CookieName=”SESSION_ID”

</Object>

 

here’s another example of physical path /api/

<Object name=”api” ppath=”*/api/*”>

<If $path =~ ‘^(.*)\.(jpg|jpeg|gif|png|css|js|html|htm)$’>

   Service method=”(GET|HEAD|POST)” type=”*~magnus-internal/*” fn=”send-file”

</If>

<Else>

   PathCheck fn=”set-cache-control” control=”no-cache”

   Service fn=”wl_proxy” WebLogicCluster=”server1:1111,server2:1111″ PathTrim=”/” CookieName=”SESSION_ID”

</Else>

 

</Object>