Re: [squid-users] Re: blocking all download

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 24 Dec 2001 11:41:12 +0100

man 7 regex

Squid uses what is called "extended" or "modern" regular expressions, the
same as the "egrep" UNIX command.

Quick guide for Squid use:

  . must be written as \.
  To match extensions, use a $ after the extension

acl downloads urlpath_regex \.mp3$ \.exe$ \.zip$

Regards
Henrik Nordström
MARA Systems AB

On Sunday 23 December 2001 12.19, Dave Raven wrote:
> yes. try urlpath_regex .mp3|.exe|.zip I suspect.

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Mon Dec 24 2001 - 04:09:07 MST

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