I am to block downloading of MP3 songs in my office network.
Below is my script
acl denymp3 urlpath_regex -i \.MP3$
http_access deny denymp3
http_access allow all
It doesn't seems to work?
Can anyone assist.
Thanks
how many urls have you tested this against? if the link has something after it on the line; with the $ at the end of the string it will allow the file to download.
have you tried doing \.mp3 instead of \.MP3$ ?
just a suggestion.
another suggestion is to add other things to the list to deny, like '\.htm' and see if it stops those, for testing purposes.
I was wondering if you ever got a solution for your problem. I am running Squid for windows and I am trying to block the downloading of .mp3 as well as .gif .jpeg files from people who are logged onto my server. I cannot figure it out. Thought maybe you can help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.