Squid Access Controls

From: Benarson Behajaina R. <Benarson.Behajaina@dont-contact.us>
Date: Sun, 18 Aug 1996 17:28:16 +0200 (MET DST)

        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 .foo.com ?
(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

But this doesn't work.

        Thank you,


Email : Benarson.Behajaina@swh.sk
URL : http://www.drp.fmph.uniba.sk/~benarson
Received on Sun Aug 18 1996 - 08:34:00 MDT

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