No. hosts files are for only hosts requesting service from you, not you
requesting service from them.
Use ACLs. there aere examples in the squid.conf file.
Make an ACL of the domain or server of the place you want to block and then
add a rule that does the actual denying.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Cassio" <cassio@gln.com.br>
To: <squid-users@squid-cache.org>
Sent: Monday, April 23, 2001 12:24 PM
Subject: [squid-users] Deny access
> Hi all-
> How can I deny access to some sites ?
> Just editing hosts.deny ? Examples are welcome.
> Thanx in advance.
> Cassio
>
Received on Mon Apr 23 2001 - 09:02:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:26 MST