Re: [squid-users] Blocking online music sites

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 27 Jun 2007 09:39:09 +0200

tis 2007-06-26 klockan 23:14 -0700 skrev leongmzlist:
> block audio/video mimetypes. Won't block everything, should do work
> w/ most sites.
>
> acl audiofiles req_mime_type -i ^audio/.*
> acl videofiles req_mime_type -i ^video/.*
>
> http_access deny audiofiles
> http_access deny videofiles

Almost..

acl media_files rep_mime_type -i ^audio/ ^video/
http_reply_access deny media_files

For youtube you also need to block flash files.

Regards
Henrik

Received on Wed Jun 27 2007 - 01:39:17 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:05 MDT