Re: [squid-users] keep ip source address in logs

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 19 Jul 2003 10:42:39 +0200

On Saturday 19 July 2003 01.20, Ivan Rodriguez wrote:

> however not all users use proxy.pac and the apache
> logs for my web page intranet.domain appear with the
> ip address of the proxy server
> what can i do to get the machine's ip addres that
> generate the request, instead of my proxy's ip
> address?

You could reconfigure your apache to log X-Forwarded-For as source
address if the request came from your proxy. See the CustomLog apache
directive.

> in other terms, how can i redirect the requests
> directly to my intranet web page ??

By having them reconfigure their browsers correctly.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Sat Jul 19 2003 - 02:43:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:11 MST