[squid-users] How are regular expressions handled in SQUIDs acls?

From: anton <anton@dont-contact.us>
Date: Mon, 16 Dec 2002 19:26:08 +0300 (MSK)

Hello all!
 At my work I need to configure squid to block all the large files, which
are not needed for work, like *.mpeg, *.mpg, *.avi, *.mp3 and so worth.
The right way is to create an access list url-regex and block all such
URLs, but unfortunately i can't understand, how does the regexps work and
how to create an acl for all these files.
 It should looks something like this:
acl url-regex (.*avi$)|(.*mpeg$)|(.*mp3$)
  - but how exectly???
  Thanks in advance.
    Anton.
Received on Mon Dec 16 2002 - 09:26:09 MST

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