Re: access log and Apache server

2009-09-17 Thread Jason Brittain
" 302 - > > any idea how to have real IP in the log? > > Thanks, > -- > View this message in context: > http://www.nabble.com/access-log-and-Apache-server-tp25490807p25490807.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > &

Re: access log and Apache server

2009-09-17 Thread Rainer Jung
On 17.09.2009 15:26, Tim Funk wrote: > There is no way. > > But you can alter the format property to log the Via header which does > have the ip address. (But it will also have more text in it too) The X-Forwarded-For request header should do it. mod_proxy sets it. If you use mod_proxy_ajp, then

Re: access log and Apache server

2009-09-17 Thread Tim Funk
There is no way. But you can alter the format property to log the Via header which does have the ip address. (But it will also have more text in it too) The javadocs for AccessLogValve have all the variables you can use. -Tim Angelo Chen wrote: Hi, I run tomcat behind an Apache server, Apac

access log and Apache server

2009-09-17 Thread Angelo Chen
in the log? Thanks, -- View this message in context: http://www.nabble.com/access-log-and-Apache-server-tp25490807p25490807.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user