[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] RemoteIPInternalProxy / RemoteIPTrustedProxy

> 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\"" combined

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: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-users/msg02528.html on line 85
Call Stack
10.0006363016{main}( ).../msg02528.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-users/msg02528.html on line 85
Call Stack
10.0006363016{main}( ).../msg02528.html:0