httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Lazic <>
Subject Re: [users@httpd] Logging X-Forwaded-For
Date Mon, 05 Jun 2006 09:14:14 GMT

On Mon 05.06.2006 18:01, Garth Webb wrote:

>Hi, I am using Apache/1.3.33 (Debian GNU/Linux) behind a proxy server
>(Perlbal) which is sending the X-Forwarded-For header back with each
>request.  I'm trying to create a custom log format that looks like the
>stanard 'combined' format that most log parsers use.  What I have is:
>LogFormat "%{HTTP_X_FORWARDED_FOR}e %l %u %t \"%r\" %>s %b
>\"%{Referer}i\" \"%{User-Agent}i\"" combined

I'am not sure but shouldn't be:


Beacause from

%...{FOOBAR}e:  The contents of the environment variable FOOBAR
%...{Foobar}i:  The contents of Foobar: header line(s) in the request
                sent to the server.




The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message