Original Poster Posted August 8, 2014 Share Posted August 8, 2014 hello! I am trying to block videos with squid from streaming (which I have done yay) but here is the problem, I want my media server to still work but it also blocks them. i am pretty sure it is possible to exclude my local domain from these rules but I am having a little trouble on doing this... I tried putting my domain in as allow all as the first rule so it is always allowed no matter what but it did not appear to work :( and videos are still getting blocked below is my blocked media i cannot show you the rest of the config but trust me all the media is blocked after the domain :P any suggestions? acl media rep_mime_type ^application/vnd.ms.wms-hdr.asfv1 acl media rep_mime_type ^application/x-fcs acl media rep_mime_type ^application/x-mms-framed acl media rep_mime_type ^video/x-ms-asf #acl media rep_mime_type ^audio/mpeg #acl media rep_mime_type ^audio/x-scpls acl media rep_mime_type ^video/x-flv acl media rep_mime_type ^video/mpeg4 acl media rep_mime_type ms-hdr acl media rep_mime_type x-fcs acl mediapr urlpath_regex \.flv(\?.*)?$ acl mediapr urlpath_regex -i \.(avi|mp4|mov|m4v|mkv|flv)(\?.*)?$ acl mediapr urlpath_regex -i \.(mpg|mpeg|avi|mov|flv|wmv|mkv|rmvb)(\?.*)?$ Link to comment Share on other sites More sharing options...
Recommended Posts