Hi Amit, On 2 February 2011 13:50, Amit Nigam <amitni...@gobindas.in> wrote: <snip> > > I was using tomcat 6.0.26, updated to 6.0.30, still no success. > Have you configured the remote-IP valve? http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_IP_Valve
If so, how and where? The remote-IP valve is necessary for Tomcat to interpret the X-Forwarded-For header. Otherwise it will just ignore it. <snip> > A work-around is to use an different header name (not X-Forwarded-For) > > I tried this too but still I am getting x-forwarded-for header instead of > new header name given as follows: > > option forwardfor header X-Client Sounds like you haven't actually configured the Remote-IP valve. Do that and it should work. <snip> -- Best Regards, Brett Delle Grazie