Re: Changing request address to x-forwarded-for

2010-01-06 Thread Cyrille Le Clerc
Hello Mohit, You can use this RemoteIpValve (1) on Tomcat 6.0.18, you just have to drop the xebia-tomcat-extras-1.0.0.jar (2) in your Tomcat lib directory. This version is being used on several web sites including high volume ones. If you can wait few days, a new version of Tomcat 6

Re: Changing request address to x-forwarded-for

2010-01-06 Thread Mohit Anchlia
I found this site http://code.google.com/p/xebia-france/wiki/RemoteIpValve Can I directly download and install it in 6.0.18? On Wed, Jan 6, 2010 at 7:41 AM, Mohit Anchlia wrote: > Could you please point me to an example of how I can do this? We are > using apache-tomcat-6.0.18 > > On Tue, Jan 5

Re: Changing request address to x-forwarded-for

2010-01-06 Thread Mohit Anchlia
Could you please point me to an example of how I can do this? We are using apache-tomcat-6.0.18 On Tue, Jan 5, 2010 at 11:41 PM, Mark Thomas wrote: > On 06/01/2010 04:14, Mohit Anchlia wrote: >> tomcat 6: >> >> Is it possible to inject or change remote address to what's in >> x-forwaded-for in ht

Re: Changing request address to x-forwarded-for

2010-01-05 Thread Mark Thomas
On 06/01/2010 04:14, Mohit Anchlia wrote: > tomcat 6: > > Is it possible to inject or change remote address to what's in > x-forwaded-for in http header such that when Servlet received the > request it's already in the request.getRemoteAddress()? Otherwise > we'll need to make a urgent change to r

Changing request address to x-forwarded-for

2010-01-05 Thread Mohit Anchlia
tomcat 6: Is it possible to inject or change remote address to what's in x-forwaded-for in http header such that when Servlet received the request it's already in the request.getRemoteAddress()? Otherwise we'll need to make a urgent change to read from the HTTP header. We didn't realize it earlier