Re: [squid-users] Writing squid's IP as a response header

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 23 Mar 2011 14:45:32 +1300

 On Tue, 22 Mar 2011 22:23:36 -0300, N3O wrote:
> Amos
>
> The caching layer is used as a reverse proxy layer.
> How do i implement the Via:header or X-Client headers thing?
> Or how do i check those headers being sent to the client??
>

 Squid does Via: by default. Unless you have added "via off" in the
 config, or in otherways stripping it out.

 The X-* headers are sent by default on most Squid, newer ones in
 testing don't send to the client on reverse-proxy but do on other
 traffic.

 You can see the headers in any modern browser using its dev tools
 (firebug plugin in firefox, native tools in netkit browsers, an SDK
 plugin to IE 7+ IIRC).
  Or by using the squidclient tool to make a request through your Squid:
    squidclient -h $squidip -j $domain -p 80 /url/path.html

 Amos
Received on Wed Mar 23 2011 - 01:45:35 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 23 2011 - 12:00:02 MDT