Search squid archive

unable to filter .m3u file with acls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux