From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: Re: how to block more then 10,000 site with SQUID ? Date: Thu, 29 Jul 2004 09:32:41 +0200 Sender: linux-config-owner@vger.kernel.org Message-ID: <200407290932.41128.fluca1978@infinito.it> References: <20040729124032.0EAC.SAVAGE-GARDEN@hanikamail.com> Reply-To: fluca1978@infinito.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20040729124032.0EAC.SAVAGE-GARDEN@hanikamail.com> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Cc: linux-config@vger.kernel.org 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, fluca1978@infinito.it