Understand, you can have that also without the extra apache module, I
use this to log both proxy and client IP:
# If you are behind a reverse proxy, you might want to change %h into %
{X-Forwarded-For}i
LogFormat "%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %b %T \"%
{Referer}i\" \"%{User-Agent}i\"
Yes, my load-balancer is responsible for caching as well and correctly
set the header X-Forwarded-For.
Actually, I really need the mod_remoteip because I want the real IP in
the access_log .
Laurent
On Sep 10, 1:10 pm, pghoratiu wrote:
> Is the load balancer responsible for caching as well?
> C
Is the load balancer responsible for caching as well?
Check http://en.wikipedia.org/wiki/X-Forwarded-For and retrieve the
client IP address from that HTTP header.
You don't need anything extra on the Apache side.
gabriel
On Sep 10, 12:52 pm, Laurent Vaills wrote:
> Hi,
>
> I am developping a