acl allowed_sites {dst|dstdomain|dstdom_regex|url_regex) <parameter>
acl all_dst dst 0.0.0.0/0.0.0.0
http_access allow allowed_sites
http_access deny all_dst
You can use dst (destination IP address/range), dstdomain (destination
domain), dstdom_regex (destination domain using regular expression), or
url_regex (URL using regular expression) to allow only the sites you wish
your clients to access. The line "http_access deny all_dst" will effectively
block all other sites.
-----Original Message-----
From: Ina Patricia Lopez [mailto:inapatricia@yahoo.com]
Sent: Thursday, September 05, 2002 9:47 AM
To: squid-user@squid-cache.org; squid-users@squid-cache.org
Subject: [squid-users] deny all sites / allow some sites
hi!
how do i block all sites and then i have a list of sites
that we only intend to go to?
thanks,
ina patricia
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Received on Wed Sep 04 2002 - 19:56:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:05 MST