Re: [squid-users] Access

From: Anderson Pettirossi Xavier <axavier@dont-contact.us>
Date: Wed, 13 Mar 2002 08:22:37 -0300

but i have to do this with authetication

----- Original Message -----
From: "Colin Campbell" <sgcccdc@citec.qld.gov.au>
To: "Anderson Pettirossi Xavier" <axavier@teledesign.com.br>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, March 12, 2002 7:47 PM
Subject: Re: [squid-users] Access

> Hi,
>
> On Tue, 12 Mar 2002, Anderson Pettirossi Xavier wrote:
>
> > Hi,
> >
> > anyone knows how can i permit access to some site for some users and
block
> > for other users???
>
> use "acl" and "http_access"
>
> eg
>
> acl goodguys src 1.2.3.0/255.255.255.0
> acl all src 0.0.0.0/0.0.0.0
> acl goodplaces url_regex "/path/to/file/with/allowed/destinations"
>
> http_access allow goodguys
> http_access deny all goodplaces
> http_access allow all
>
> This will allow goodguys to go everywhere, stop everyone else from going
> to goodplaces but allow everyone to go every else.
>
> Colin
>
Received on Wed Mar 13 2002 - 04:24:04 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:55 MST