Hi Angelo.
I'm assuming you're using mod_proxy_http (you said port 80). If so, then
there is indeed a way to make this work.
In your Apache HTTPD config, where you're configuring proxying the request,
make sure you add:
ProxyVia On
That will make HTTPD set the "x-forwarded-for" HTTP request he
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
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