httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: Effective IP address / real IP address
Date Tue, 22 Nov 2011 16:18:37 GMT
On 21 Nov 2011, at 8:04 PM, Stefan Fritsch wrote:

> The error log handler log_remote_address for %a needs to fall back to
> c->remote_ip if r is not specified. Otherwise one would need different
> logformats for per-conn and per-request log messages. Also, I would
> prefer %{r}a and %{c}a to force logging of r->remote_ip and c-
>> remote_ip. Then we don't need a new format letter and it would be
> more consistent with the %L and %{c}L errorlog format.

This is now the same with r1205061.

I've noticed the "%{c}a" syntax isn't documented for either error_log  
or access_log, should I update that or have I missed something?


View raw message