Access Manager behind Proxy server

We have Access Manager 7 on Sun Application Server 8.1 on a box behind Sun Proxy Server 4.0.3 (running in reverse proxy configuration) on a second box. The proxy box is available from the internet (let's pretend it's at proxy.example.com) and responds to https requests only. The app server is not visible from the internet, but is accessible from the proxy (let's pretend it's at http://app.example.com:8181). We also have the Policy Agent installed on the appserver and set up to protect our app. Our problem is as follows:

1. Accessing an app protected by the policy agent via the proxy (e.g. https://proxy.example.com/App1) works fine. The login comes up (still using the proxy address) and once the user logs in the application comes up, also still using the proxy address.

2. Accessing the Access Manager console via the proxy once a user has logged in (as in step 1) also works correctly. All the pages use the proxy address and the user can use the console to say change their password.

3. Accessing the Access Manager console via the proxy without logging in first (by accessing a different protected page) does not work correctly. The server redirects the user to the login using actual address of the app server, which of course is not visible from the outside.

Someone on the forums suggested adding an entry to the fqdnMap in AMConfig.properties file where both the invalid and valid name are the proxy name, but this does not appear to make any difference.

I'd appreciate any insight into why this is a happening and how to fix it.\

Ed

[1597 byte] By [ed_laumana] at [2007-11-27 6:52:40]
# 1

I also had the similar problem but I fixed it by doing following:

Change following properties in AMConfig.properties file to Proxy Server:

com.sun.identity.loginurl=http://proxy.example.com:8181/amserver/UI/Login

com.iplanet.am.console.host=proxy.example.com

The only thing, I couldn't figure out is that logout link for AM from Console. When I click on Logout button in console then it tries to take me to the actual machine. If you figure it out then let me also know...

Vivek

Vivek.Gupta.eToucha at 2007-7-12 18:27:15 > top of Java-index,Web & Directory Servers,Directory Servers...