On Saturday 17 January 2009, Constantin Rack wrote:
> > 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
Moin,
thanks for you help, this work out of the box. Now I have to find a way to
filter out this entry. But this is an other thread.
CU
-- |Michael Renner E-mail: michael.renner_at_gmx.de | |D-81541 Munich Germany ICQ: #112280325 | |Germany Don't drink as root! ESC:wqReceived on Sun Jan 18 2009 - 18:48:01 MST
This archive was generated by hypermail 2.2.0 : Mon Jan 19 2009 - 12:00:02 MST