A note on reverse proxy: request.getRemoteIP() will normally return the IP of the proxy and not the IP of the client. In Tomcat you will probably need to add a valve such as RemoteIPValve (search this list) to fix the IP of the incoming request. Otherwise your log files will show the IP of the proxy on all requests instead of the IP of the client. Proxies add the IP of the caller as an HTTP header.
For the log files you can avoid the valve by changing the log pattern to log the HTTP header of the IP instead of the standard log patterns (combined, common etc). In that case you do not need the valve. I still prefer the valve since it fixes the IP for the application code as well as the log, so everything works normal. We use reverse proxy instead of AJP since we put squid in front of tomcat instead of apache. Depending on your requirements, I would suggest looking into squid instead of apache, but expect a learning curve. E --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org