On Mon, Oct 13, 2008 at 12:08 PM, kanak.agarwal <[EMAIL PROTECTED]>wrote:

>   i want to block audio & video blocking through squid...
>
> lots of people surf on to youtube & dhingana & millions of other
> sites which chokes the complete network ....
>
> i tried this but doesnt work...
>
> please tell me where i was wrong, do i need to add something in
> mime.conf
>
> acl y-type rep_mime_type video/flv
> acl y-type rep_mime_type ^.*mms.*
> acl y-type rep_mime_type ^.*ms-hdr.*
> acl y-type rep_mime_type ^.*x-fcs.*
> acl y-type rep_mime_type ^.*x-ms-asf.*
> acl z-type rep_mime_type -i video/flv
> acl z-type rep_mime_type -i ^application/x-shockwave-flash$
> acl x-type req_mime_type -i ^application/octet-stream$
> acl x-type req_mime_type -i application/octet-stream
> acl x-type req_mime_type -i ^application/x-mplayer2$
> acl x-type req_mime_type -i application/x-mplayer2
> acl x-type req_mime_type -i ^application/x-oleobject$
> acl x-type req_mime_type -i application/x-oleobject
> acl x-type req_mime_type -i application/x-pncmd
> acl x-type req_mime_type -i ^video/x-ms-asf$
>
> http_access deny x-type all
> http_access deny y-type
> http_access deny z-type
> http_reply_access deny x-type all
>
>  
>


Hi,

      In squid the mime type specified to block download supports
http_reply_access only. so deny acl with
 http_reply_access deny aclname

     People correct me if I'm wrong.

    Also it will be better if you use file instead of string. that will help
you to do this work in less time. enter all your extension in specified file
but remember to put one extension each line.



-- 
Have a nice time,
Gourav Joshi


[Non-text portions of this message have been removed]

Reply via email to