I shouldn't even need an apache mod since using %{X-Forwarded-For}i in Apache's LogFormat directive should give me what I want.
Log format reference:
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats
Excellent information. Thanks Jacques!
Hi,
The IP is already passed to the server via a standard HTTP header.
You just need Apache to use it when appropriate. The following module
will do that for you:
http://web.warhound.org/mod_extract_forwarded/
Or, on a FreeBSD box, cd /usr/ports/www/mod_extract_forwarded; make install
Jacques.
At 23:41 11/05/2006, Tim Smith wrote:
>Using Pound causes the proxy IP address to show up in the apache logs. This
>is understandable since Pound is the proxy.
>
>What I would like to do is to configure Pound to pass the client IP address
>through the HTTP header. Then I can configure Apache to include that header
>in the log file. The goal is to simplify debugging of the proxied
>applications. Is there a way to do this?
>
>Also, it would be VERY helpful if the Pound manpage was kept on the Pound
>website.
>
>
>Regards,
>Tim
>
>
>--
>To unsubscribe send an email with subject 'unsubscribe' to pound@apsis.ch.
>Please contact roseg@apsis.ch for questions.
>http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1147383685000
--
To unsubscribe send an email with subject 'unsubscribe' to pound@apsis.ch.
Please contact roseg@apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1147383685000/1147390344000