On Thursday 29 July 2004 09:32 Luca Ferrari's cat walking on the keyboard wrote: > 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. Ops! I cut and paster the wrong line! The acl type must be "dstdomain", like the following one: acl pericolosi dstdomain "/vol1/squid/etc/files_pericolosi.acl" and you have to specify to deny the above acl with http_access deny pericolosi Luca -- Luca Ferrari, fluca1978@xxxxxxxxxxx - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html