X-Forwarded-For headers?

Paul Chvostek <[email protected]> Sun, 8 Aug 2004 05:56:16 -0400
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
Heya.

I'm trying to get mod_log_sql running on a web server behind a proxy
(Pound, from http://apsis.ch/pound/).  The proxy correctly sends the
X-Forwarded-For header lines to indicate the original requestor, so in
the bad-old-days, I built my combined logs with:

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

Now...  how do I get out of the bad-old-days?  Section 3.6.17 of the
version 1.18 documentation (I'm using Apache 1.3) doesn't mention the
X-Forwarded-For header, nor is it mentioned in the equivalent unnumbered
section of the docs for 2.0.  I also can't find anything that would
allow me to specify additional headers myself.

Am I missing something obvious, or am I really making a feature request?
Given the benefits of mod_log_sql for aggregating the log data of a farm
of web servers, support for X-Forwarded-For would seem like an obvious
requirement.  :)

-- 
  Paul Chvostek                                             <[email protected]>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/

_______________________________________________
Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/

To unsubscribe send an e-mail to 
mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org