RemoveIpValve and valve execution order

2011-11-21 Thread rswart
Hi, I'm trying to configure the RemoteIp in combination with AccessLogValve. request.getRemoteAddr() return the correct remote-ip from X-Forwarded-For header, but AccessLogValve still logs the unmodified (proxy) ip-address. Can this be related to the execution order of valves? Can I enforce

Re: RemoveIpValve and valve execution order

2011-11-22 Thread rswart
Thanks for the quick reply. Works like a charm! Konstantin Kolinko wrote: 2011/11/22 rswart rjsw...@gmail.com: Hi, I'm trying to configure the RemoteIp in combination with AccessLogValve. request.getRemoteAddr() return the  correct remote-ip from X-Forwarded-For header