Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-17 Thread Johan van den Berg
I'll accept as much, but understand that I just followed the same approach that was taken with the proxyName and proxyPort parameters that already solve a similar problem in Tomcat when sitting behind a reverse proxy. If that problem was solved with a Filter / Valve, I would have done the same wit

Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-17 Thread Ronald Klop
On Mon Jul 17 11:52:20 CEST 2006 Tomcat Users List wrote: Except that I have 5 servers, each having 20 different apps, some of which are 3'rd party, so I *really* don't want to modify the app (closed source). This is a server infrastructure and configuration issue, none of which any developer

Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-17 Thread Johan van den Berg
Except that I have 5 servers, each having 20 different apps, some of which are 3'rd party, so I *really* don't want to modify the app (closed source). This is a server infrastructure and configuration issue, none of which any developer should ever be worried about... Regards Johan On Mon, 2006-0

Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-17 Thread Ronald Klop
On Sat Jul 15 13:38:47 CEST 2006 Tomcat Users List wrote: Hi We needed to patch Tomcat for our site that has a Tomcat behind Apache (mod_jk), that sits behind a reverse proxy load balancer. The idea is basically to not use the TCP endpoint of Apache (which will always point to the reverse prox