[squid-users] unable to filter .m3u file with acls

From: Siju George <sgeorge.ml@dont-contact.us>
Date: Fri, 22 Sep 2006 19:39:49 +0530

Hi,

I have a file that stores reular expressions to block a set of URLs
that end a certain way.
all the urls except that end with the .m3u extension is blocked. Yes I
restarted squid after changing the configuration file. Could some one
help me sort the issue?

I checked with

http://www.2600.com/wbai/wbai.m3u

but it is not blocked.

My acl in squid.conf is

acl media-url-regex url_regex -i "/etc/squid/acls/media-url-regex"
http_access deny media-url-regex

the content of the file "/etc/squid/acls/media-url-regex" is given below.
It seems strange that I can block al others except .m3u
# pwd
/etc/squid/acls
# cat media-url-regex
\.mp3$
\.mp4$
\.asx$
\.wma$
\.wmv$
\.avi$
\.mpeg$
\.mpg$
\.qt$
\.ram$
\.rm$
\.iso$
\.wav$
\.wmf$
\.exe$
\.zip$
\.gz$
\.rar$
\.bzip$
\.bzip2$
\.dll$
\.midi$
\.cda$
\.csv$
\.pls$
\.mov$
\.qtl$
\.m3u$
#

Thankyou so much

KInd regards

Siju
Received on Fri Sep 22 2006 - 08:09:57 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT