Search squid archive

Re: analyze http header?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx  |
|D-81541 Munich      Germany        ICQ: #112280325 |
|Germany             Don't drink as root!      ESC:wq

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux