Re: [squid-users] Blocking online music sites

From: leongmzlist <leongmzlist@dont-contact.us>
Date: Tue, 26 Jun 2007 23:21:19 -0700

oops, that was a bad example.

# acl aclname rep_mime_type mime-type1 ...
# # regex match against the mime type of the reply received by
# # squid. Can be used to detect file download or some
# # types HTTP tunneling requests.
# # NOTE: This has no effect in http_access rules. It only has
# # effect in rules that affect the reply data stream such as
# # http_reply_access.

mike

At 11:14 PM 6/26/2007, leongmzlist wrote:
>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
>
>see squid.conf for examples
>
>mike
>
>
>At 09:52 PM 6/26/2007, revathi ganesh wrote:
>>Hello all,
>>
>>Can I know how to block online songs site and video
>>sites like YOUTUBE etc..with the help of squid..
>>
>>Anway i am stoppping the download of any mp3 etc..
>>files.
>>
>>Pls help me out in stopping these online music and
>>video sites..
>>
>>thanks in advance
>>Revathi
>>
>>
>> Download prohibited? No problem. To chat from any browser
>> without download, Go to http://in.messenger.yahoo.com/webmessengerpromo.php
>>
>>
Received on Wed Jun 27 2007 - 00:21:29 MDT

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