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

From: Jevos, Peter <Peter.Jevos_at_oriflame.com>
Date: Tue, 9 Dec 2008 10:07:53 +0100

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 deny streaming

thanks for any advice

br

peter
Received on Tue Dec 09 2008 - 09:08:02 MST

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