Re: [squid-users] Acl access

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 14 Mar 2001 22:15:10 +0100

Ilker Gokhan wrote:
>
> you couldnt tell something about access0, I assume It have the same
> right like access3.
>
> Try:
> acl access0 src 10.0.0.1-10.0.0.16/8
> acl access1 src 10.0.0.17-10.0.0.32/8
> acl access2 src 10.0.0.33-10.0.0.64/8
> acl access3 src 10.0.0.65-10.0.0.128/8
>
> acl aaa url_regex -i aaa
> acl bbb url_regex -i bbb
>
> http_access allow access1 aaa
> http_access deny access1
> http_access allow access2 bbb
> http_access deny bbb
> http_access allow access3 access0

Almost right.. except that a user cannot be access3 AND access0 at the
same time, and there was no description of rights for access0 in the
question...

http_access allow access3
and maybe, if access0 also should be given full access
http_access allow access0

> http_access deny all
>
> Greetings from Istanbul
> Ilker G.
>
> > -----Özgün İleti-----
> > Kimden: Franco Battista [mailto:b.franco@arpaindustriale.com]
> > Tarih: Wednesday, March 14, 2001 4:10 PM
> > Kime: 'squid-users@ircache.net'
> > Konu: [squid-users] Acl access
> >
> >
> > i want use acl for this:
> >
> > 4 users group : access0,access1,access2,access3
> > PC with ip address in access1 can access in url with word "aaa"
> > PC with ip address in access2 can access in url with word "bbb"
> > PC with ip address in access3 can access in every url
> >
> > help me please
> >
> >
>
> Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece
> adres sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu
> tutulamaz.
>
> The information contained in this E-Mail and any files transmitted
> with it are intended solely for the use of the individual or entity to
> whom they are addressed and do not reflect those of Sumerbank A.S.
Received on Wed Mar 14 2001 - 14:30:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:38 MST