Re: [squid-users] analyze http header?

From: Constantin Rack <constantin.rack_at_vigos.com>
Date: Sat, 17 Jan 2009 21:55:18 +0100

> I want to use a 'secret' http header entry instead of using a
> username with
> password for user authentication. Let's say 'only if the browser set
> a 'UseSquidProxy true entry' the access is ok. Otherwise it is
> forbidden.
>
> I found only header_access and header_replace in the documentation,
> but this
> does not what I need.

Hi Michael,

you can use the "req_header" ACL to achieve this:
http://www.squid-cache.org/Doc/config/acl/

Example (not tested):

   acl USESQUIDPROXY req_header UseSquidProxy true
   http_access allow USESQUIDPROXY
   http_access deny all

Hope this helps,
Constantin
Received on Sat Jan 17 2009 - 20:55:53 MST

This archive was generated by hypermail 2.2.0 : Sun Jan 18 2009 - 12:00:02 MST