Re: Unable to retrieve X-Forwarded-For in Tomcat 8.0 access log

2016-05-11 Thread Igor Cicimov
On Thu, May 12, 2016 at 4:47 AM, Abhijit Das wrote: > > down vote > <>favorite > < > https://stackoverflow.com/questions/37170742/unable-to-retrieve-x-forwarded-for-in-tomcat-8-0-access-log# > > > I am injecting a header with a rewrite policy on my LB to pass >

Re: Unable to retrieve X-Forwarded-For in Tomcat 8.0 access log

2016-05-11 Thread Abhijit Das
RESOLVED … It should be injected in the REQUEST Header, I will now see if case matters. On May 11, 2016, at 12:07 PM, Abhijit Das wrote: Thanks for pointing out, but that didn’t work either .. (I also changed the policy on the LB to inject in lower case x-forwarded-for

Re: Unable to retrieve X-Forwarded-For in Tomcat 8.0 access log

2016-05-11 Thread Abhijit Das
Thanks for pointing out, but that didn’t work either .. (I also changed the policy on the LB to inject in lower case x-forwarded-for thinking if it was case sensitive?) .. Do i need a filter as well in web.xml ? The below Header is a RESPONSE header, where i am injecting x-forwarded-for

Re: Unable to retrieve X-Forwarded-For in Tomcat 8.0 access log

2016-05-11 Thread Mark Thomas
On 11/05/2016 19:47, Abhijit Das wrote: > > down vote > <>favorite > > > > I am injecting a header with a rewrite policy on my LB to pass > X-Forwarded-For header. Have verified that

Unable to retrieve X-Forwarded-For in Tomcat 8.0 access log

2016-05-11 Thread Abhijit Das
down vote <>favorite I am injecting a header with a rewrite policy on my LB to pass X-Forwarded-For header. Have verified that this appears on all the pages in the RESPONSE Header.