* On 29/03/06 09:48 -0500, Nick Duda wrote: | | I'm a bit confused on the syntax I need in the squid.conf. I've tried | many things. | | I have an ACL/http_access rule to deny downloading and streaming of any | MP3 files. I want to allow it from one website. I've tried basically | dstdomain allowing for that domain, but the other http_access rule is | taking over. | | So I want to deny MP3 from everything except from domain | www.testdomain.com | | Here is what I have in place: | | ----------------------------------------------------------- | | acl testdomain dstdomain "/usr/local/squid/db/test" #in test is one line | that has .testdomain.com | acl filedownloads urlpath_regex -i \.exe$ \.mp3$ \.mov$ \.mpg$ \.mp?$ | \.avi$ \.rm$ | acl wmp browser -i ^.*Windows-Media-Player.* | acl wmp browser -i ^.*NSPlayer.* | acl wmp browser -i ^.*player.* | acl umv rep_mime_type ^video/* ^audio/* | | http_access allow testdomain | | http_access deny filedownloads | | http_access deny wmp | http_reply_access deny umv http_access deny filedownloads !testdomain Maybe? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@xxxxxxxxxxxx> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ The grand leap of the whale up the Fall of Niagara is esteemed, by all who have seen it, as one of the finest spectacles in nature. -- Benjamin Franklin.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature