Re: [squid-users] block urls and files in squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 30 Sep 2004 17:28:35 +0200 (CEST)

On Thu, 30 Sep 2004 listas@infortesa.com wrote:

> Hi i wish to know how can i block some url like private.com or playboy.com by
> url address and also by some keyword teen,sex,bottom,etc.

domains is blocked by dstdomain acls.

domain patterns by dstdomain_regex, but be careful to not block too much..

> Also i wish to block .mp3 and .mpeg, .mov,.avi etc.

these you match via either urlpath_regex or the rep_mime_type acls.

Regards
Henrik
Received on Thu Sep 30 2004 - 09:28:39 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT