Search squid archive

Re: How to exclude domain from rep_mime acl

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

 



Jevos, Peter wrote:
Hi,

I've set the rep_mime_type acl to block the flash video.

Unfortunately it has to be allowed on our domain sites.

How could I exlude specified domain from that acl ?

I tried to do:

acl mydomain dstdomain .MYDOMAIN.com
http_access allow mydomain

and put it before http_reply_access deny rule but it doesn't work


My acl is:

acl streaming rep_mime_type -i ^application/x-pncmd
^flv-application/octet-stream ^video/x-ms-asf ^video/x-ms-sf ^audio/mpeg
^audio/x-mpeg ^application/x-mms-framed
^application/vnd.ms.wms-hdr.asfv1 ^video/x-flv ^video/flv ^video/mpeg
^video/x-ms-wvx ^video/x-ms-wmv ^video/vnd.divx ^video/quicktime


http_reply_access allow mydomain # Allow all replies from my domain before video is blocked.

http_reply_access deny streaming

http_reply_access allow all # For clarity

thanks for any advice

br

peter



Chris

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

  Powered by Linux