Aha! mod_proxy adds some headers to the request, one of them being named x-forwarded-for and contains the ip address of the forwarded request. I'm saved :-)
Charles
Charles Yates wrote:
I've been experimenting with using mod_proxy as a connector as described here:
http://wiki.cocoondev.org/Wiki.jsp?page=ApacheModProxy
I like it a lot but have run into a snag. All my request.getRemoteHost()
calls return 127.0.0.1. Does anyone know a way around this. Otherwise
I can't use it :-(
Charles
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]