Re: how to block more then 10,000 site with SQUID ?

Luca Ferrari <[email protected]> Thu, 29 Jul 2004 09:32:41 +0200
Newsgroups gmane.linux.configuration,gmane.linux.admin
Message-ID <[email protected]>
On Thursday 29 July 2004 08:40 Kev's cat walking on the keyboard  wrote:

> hi,
>
> i have a site list that i need to block with squidl this list is on a
> TXT files, it got more then 10000 domains, how can i do this with SQUID ??
>

Hi,
I've done something similar adding a line like the following in the 
squid.conf, at the acl section:

acl pericolosi urlpath_regex "/vol1/squid/etc/files_pericolosi.acl"

where /vol1/squid/etc/files_pericolosi.acl is a text file that contains the 
list of sites/domains you want to block.
Hope this helps.

Luca

-- 
Luca Ferrari,
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html