httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] RemoteIPInternalProxy / RemoteIPTrustedProxy
Date Mon, 18 Dec 2017 12:57:14 GMT
> BUT, when I set this Apache stops logging the remote IP because the
> forwarding proxy is valid now ?

> LogFormat "%h (%{X-Forwarded-For}i) %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""

You should restore %a to that format if you're going to use mod_remoteip.

As was explained in bugzilla, mod_remoteip fills in %a while it
removes from %{X-Forwarded-For}i.  So in a simple case with one
trusted proxy, %a will hold the value you used to see in
X-Forwarded-For because of mod_remoteip

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message