Re: Logging through Web

From: Jan Simek <[email protected]>
Date: Fri, 3 Apr 1998 01:20:15 +0200 (MET DST)

With Apache you can put such a line into httpd.conf to get the
HTTP_X_FORWARDED_FOR header. Instead of (or together with) standard Common
Log Format which looks like:

TransferLog logs/normal_clf_log "%h %l %u %t \"%r\" %s %b"

You'd use:

CustomLog logs/test_log "%h %{X-Forwarded-For}i %l %u %t \"%r\" %s %b"

That's all...
Still keep in mind you only catch Squid users...

Jan S.

P.S.: If you haven't got Apache, then you can't do this (as far as I
know...).
Received on Thu Apr 02 1998 - 15:22:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:34 MST