Re: Squid Access Controls

From: Duane Wessels <wessels>
Date: Sun, 18 Aug 96 19:45:48 -0700 writes:

> Hello everyone,
> Has someone tried to define an access list based on
>the combination of ip-address and domain ?
> i.e let's say my local network address is
> and one host called host1 has an ip-address
> let's say a domain dommfoo is .com
> So, what to do if I want to allow all hosts except the
>host1 ( for accessing the domain ?
>(i.e deny host1 if wants to access the domain .com,
>but allow host1 if it wants to access domain other than .com)
>I've tried something like this :
>acl host1
>acl domfoo .com
>http_access allow all !host1 domfoo

acl host1 src
acl domfoo domain

http_access deny host1 domfoo
http_access allow all

Duane W.
Received on Sun Aug 18 1996 - 19:45:50 MDT

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