Re: [squid-users] FW: Custom Header

From: Ard van Breemen <ard@dont-contact.us>
Date: Wed, 19 Feb 2003 18:16:26 +0100

On Wed, Feb 19, 2003 at 04:10:59PM -0000, Jason Foster wrote:
> Does anybody know if it's possible to tweak Squid (version 2.4 stable 6) to
> look at a custom field in a http header and report this new value in it's
> access log ?
>
> The set up I have is there is a web acceleration proxy sat in front of Squid
> (both acting as reverse proxies) and Squid does not see the client IP as it
> only sees the IP address of the web acceleration proxy. The true client IP
> is however, placed in a custom field in the http header by the web
> acceleration proxy but I need to tell Squid to look there.

log_mime_hdrs on
in the squid config will log any http header.
I would suggest always logging it if you use it as an
accelerator.

-- 
program signature;
begin  { telegraaf.com
} writeln("<ard@telegraafnet.nl> SMA-IS | Geeks don't get viruses");
end
.
Received on Wed Feb 19 2003 - 10:16:30 MST

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