logo       

Re: [Pound Mailing List] Logging IP addresses in apache logs: msg#00022

web.pound.general

Subject: Re: [Pound Mailing List] Logging IP addresses in apache logs

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!

On 5/11/06, Jacques Caron <jc-MEH6BdzOnhEAvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:

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-Ws3YcLWMCps@xxxxxxxxxxxxxxxx
.
>Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions.
>http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1147383685000



--
To unsubscribe send an email with subject 'unsubscribe' to
pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx
Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions.

http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1147383685000/1147390344000



--
To unsubscribe send an email with subject 'unsubscribe' to
pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx
Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions.
http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1147383685000/1147402184000



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise