>
>
> Greetings Everyone,
>
> Further to Duane's suggestion in archive message 914 regarding
> restricting a host from a domain through acl's, I have a requirement
> here at the University in which I work to restrict PC Labs
> from certain domains.
>
> To recap what Duane said :
>
> acl host1 src 192.108.125.10/255.255.255.255
> acl domfoo domain foo.com
>
> http_access deny host1 domfoo
> http_access allow all
>
> Well, I tried something similar to the above and it didn't work.
> Can anyone tell me what I did wrong :
>
> acl uni src 136.186.0.0/255.255.0.0
> acl pc src 136.186.71.243/255.255.255.0
>
> acl block01 domain playboy.com
>
> http_access deny pc block01
> http_access allow uni
acl all src 0.0.0.0/0.0.0.0
acl uni src 136.186.0.0/255.255.0.0
acl pc src 136.186.71.243/255.255.255.255
acl block01 domain .playboy.com
http_access deny pc block01
http_access deny all !uni # In this case only hosts from
# uni can use your cache proxy
Benarson.
-- ++++++++++++++++++++++++++++++++++++++++++ + Email : Benarson.Behajaina@swh.sk ++++++++++++++ + URL : http://www.drp.fmph.uniba.sk/~benarson + ++++++++++++++++++++++++++++++++++++++++++++++++++++++Received on Fri Aug 23 1996 - 00:05:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:50 MST