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 quote,

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 users@tomcat.apache.org 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) reverse-proxy-load-balancer

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: quot; 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 like to

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: quot; 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