Hi,
I'm new to Squid but can't you use the "acl"
statements to forbid access to your list of sites.
<snip>
acl all_access src 1.2.3.1-1.2.3.254/255.255.255.0
acl blockedsites url_regex -i "/etc/squid/block.txt"
acl unblockedsites url_regex -i
"/etc/squid/unblock.txt"
http_access allow all_access
http_access allow localhost
http_access deny blockedsites !unblockedsites
</snip>
You can use these rules to restrict access.
Correct me if i'm wrong but TXT files will be "one URL
per line".
Hope this helps.
c u,
ionel
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.fr
Received on Sun Feb 03 2002 - 03:25:18 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:09 MST