Re: restrict hosts to particular domains

From: <alowe@dont-contact.us>
Date: Wed, 3 May 2000 17:12:41 +1000 (EST)

try this modified stuff:

> How do I define on my squid.conf file to restrict particular IPs to
> access only certain domains?
>
> I've tried doing the ff:
>
> acl allowedsites dstdomain dhl.com
> acl allowedhost src 199.40.218.10-15/255.255.255.0
>
># Remove this line--> http_access allow allowedsites
> http_access allow allowedhost allowed_sites
> http_access deny all

the line marked remove is actually allowing the allowedsites to access
anything, by just putting the second and third line, you allow them to the
allowed_sites but nowhere else...

hope that helps

Andrew Lowe
andrew @ pccentre . com . au
Received on Wed May 03 2000 - 00:37:08 MDT

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