Sign in to follow this  
Followers 0
Original Poster

blocking videos with squid?

1 post in this topic

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)(\?.*)?$

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.