Re: [squid-users] Allow streaming for one particular srcdomain

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 17 Jul 2008 03:42:53 +1200

Tarak Ranjan wrote:
> Hi List,
> i have blocked Audio/Video streaming in my Squid for
> all. but if i want to allow streaming from a
> particular domain suppose msn.com, then what i have to
> change ...
>
> following rules i have set.
>
> acl media_files rep_mime_type -i ^audio/ ^video/
> http_access deny media_files !oksource

ADD: acl oksource srcdomain .msn.com
CHANGE: http_access deny media_files !oksource

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7
Received on Wed Jul 16 2008 - 15:42:47 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 16 2008 - 12:00:04 MDT