Re: [squid-users] Access

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Wed, 13 Mar 2002 08:47:37 +1000 (EST)

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 Tue Mar 12 2002 - 15:48:00 MST

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