Date: Thu, 16 Jun 2005 17:23:43 +0300 From: Abu Khaled <khaled.abu@gmail.com> To: Remy de Ruysscher <remy@unix-asp.com> Cc: freebsd-isp@freebsd.org Subject: Re: freebsd-isp Digest, Vol 117, Issue 4 Message-ID: <a64c109e05061607235823d13a@mail.gmail.com> In-Reply-To: <42B16C3A.8040008@unix-asp.com> References: <20050616120019.BFAEB16A421@hub.freebsd.org> <42B16C3A.8040008@unix-asp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/16/05, Remy de Ruysscher <remy@unix-asp.com> wrote: > Hi there, >=20 > 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. >=20 > If seen a number of patches for Squid, but haven't dived into it yet. > Any tips on this matter are most welcome ;). >=20 > Regards, >=20 > Remy. >=20 >=20 >=20 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 --=20 Kind regards Abu Khaled
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a64c109e05061607235823d13a>