Re: freebsd-isp Digest, Vol 117, Issue 4
From: Abu Khaled (khaled.abu_at_gmail.com)
Date: 06/16/05
- Previous message: Diana Eichert: "Re: Radius server with web/gui interface"
- In reply to: Remy de Ruysscher: "Re: freebsd-isp Digest, Vol 117, Issue 4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Jun 2005 17:23:43 +0300 To: Remy de Ruysscher <remy@unix-asp.com>
On 6/16/05, Remy de Ruysscher <remy@unix-asp.com> wrote:
> Hi there,
>
> I'm struggeling with the setup of Reverse Proxy (Squid) for our
> serverfarm. Is it possible to preserve the orginal IP address
> in the logs on the destinator webserver (Apache access-logs). If not all
> connections are comming from the Squid Proxy.
>
> If seen a number of patches for Squid, but haven't dived into it yet.
> Any tips on this matter are most welcome ;).
>
> Regards,
>
> Remy.
>
>
>
I found this sometime ago while trying to configure my apache log files.
Check apache mod_log_config documentation.
http://httpd.apache.org/docs/mod/mod_log_config.html
Inserting X-Forwarded-For for apache access-logs might help.
# start
LogFormat "%v %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log common
# end
-- Kind regards Abu Khaled _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Diana Eichert: "Re: Radius server with web/gui interface"
- In reply to: Remy de Ruysscher: "Re: freebsd-isp Digest, Vol 117, Issue 4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|