Re: [squid-users] How to exclude domain from rep_mime acl

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 09 Dec 2008 10:27:03 -0900

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
Received on Tue Dec 09 2008 - 19:27:23 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 10 2008 - 12:00:02 MST