Reverse proxy not working for AMserver app .......works for ampassword thou
I am using sun access manager 7 in realm mode with sun appserver 8 and sun directory server 5.2 with loadbalncer for AM access manager.
Beacuse DUI bug that it can only handle top level realm and not the subrealm.....I was planing to use reverse proxy (this will also hold the PA) in DMZ to point to loadbalance for Access manager.
I have configured reverse proxy on sun web server 6.1
Reverse proxy config is shown below:
magnus.conf ( i added the reverse proxy plugin)
Init fn="load-modules" shlib="/opt/SUNWwbsvr/plugins/passthrough/libpassthrough.
so"
obj.conf
NameTrans fn="assign-name" from="/amserver(|/*)" name="amserver1"
NameTrans fn="assign-name" from="/ampassword(|/*)" name="amserver2"
<Object name="amserver1">
Service fn="service-passthrough" servers="http://aims01t.examplr.com:18080"
</Object>
<Object name="amserver2">
Service fn="service-passthrough" servers="http://aims01t.example.com:18080"
</Object>
and restarted the webserver
Also i added the line in AMConfig.properties of acces manager box........(some body had suggested this in forums)
com.iplanet.am.console.host=testpr1.inmarsat.com (reverse proxy host name)
com.iplanet.am.console.port=28080 (reverse proxy port)
There is a loadbalancer between the reverse proxy and access manager for which I had done the site configuration which works.
and restarted the access manager.......
Now I am able to go thorugh to ampassword (http://testpr1.example:28080/ampassword/ui/PWResetUserValidation) appliction through reverse proxy
but for amserver ((http://testpr1.example:28080/amserver/console) i get an page cannot be displayed
if i look at the access log of the appserver is see the line shown
-
10.130.27.14 - 27/Jul/2007:13:05:24 +0100 GET /amserver/console HTTP/1.1 302 0
10.130.27.14 - 27/Jul/2007:13:05:24 +0100 GET /amserver/console/ HTTP/1.1 302 0
10.130.27.14 - 27/Jul/2007:13:05:24 +0100 GET /amserver/console/index.html HTTP/1.1 304 0
10.130.27.14 - 27/Jul/2007:13:05:24 +0100 GET /amserver/base/AMAdminFrame?&amconsoleRedirect=1&pSFdsTdGDdBSBgqYkZTlwJ BTFZUWnRqff8UwwA7ApnjREhmdtQpPfR2ZEjqaoAUsrRxoyOHonp2AJPwR HTTP/1.1 200 415
10.130.27.14 - 27/Jul/2007:13:05:24 +0100 GET /amserver/UI/Login?service=adminconsoleservice&goto=http://testpr1.example. com:28080/amserver/base/AMAdminFrame&&pSFdsTdGDdBSBgqYkZTlwJBTFZUWnRqff8 UwwA7ApnjREhmdtQpPfR2ZEjqaoAUsrRxoyOHonp2AJPwR HTTP/1.1 302 0
Can some let me know what can be the problem..........or has done such a setup and was success ful.

