Hi, 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: %{HTTP_X_FORWARDED_FOR}i Beacause from http://httpd.apache.org/docs/1.3/mod/mod_log_config.html: --- %...{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. --- hth regards Alex --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx