Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Maurice Yarrow
Rainer (and also, Martin) Thanks, gentlemen. Maurice Rainer Jung wrote: ... for the quotes simply use the predefined xml entity: " Maurice Yarrow schrieb: Hello, again, Tomcat community: I found the answer to my own question below: Use: pattern="%{X-Forwarded-for}i %l %u %t %r %

Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Rainer Jung
... for the quotes simply use the predefined xml entity: " Maurice Yarrow schrieb: > Hello, again, Tomcat community: > > I found the answer to my own question below: > Use: > > pattern="%{X-Forwarded-for}i %l %u %t %r %s %b" > > in the access log valve config. > > Only thing: I would l

Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Martin Gainty
: "Maurice Yarrow" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, November 03, 2006 4:23 PM Subject: obtain X-Forwarded-for: client-IP-address in access logs > Hello Tomcat community > > I have tomcat (5.0.28) running behind pound (2.1.3) > rever

Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Maurice Yarrow
Hello, again, Tomcat community: I found the answer to my own question below: Use: pattern="%{X-Forwarded-for}i %l %u %t %r %s %b" in the access log valve config. Only thing: I would like to surround the %r with "%r", as is done in the "common" setup. What byzantine combination of single q

obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Maurice Yarrow
Hello Tomcat community I have tomcat (5.0.28) running behind pound (2.1.3) reverse-proxy-load-balancer. This is a very effective setup, as I have pound also fronting apache and mongrel-rails clusters. Question: Pound adds the following to its request to backend servers: X-Forwarded-for: