Re: [squid-users] regexp

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 29 Nov 2002 19:03:30 +0100

On Friday 29 November 2002 16.02, liste wrote:
> I want to block some file type...for example .mp3 .avi but if i
> use:
>
> acl STREAM url_regex -i .mp3 .avi
>
> i block also sites as http://www.avis.it.
>
> what regular expression i must use to block only extension ??

  -i \.mp3$ \.avi$

See also "man 7 regex" or any other regex guide.

Regards
Henrik
Received on Fri Nov 29 2002 - 11:03:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:39 MST