Search squid archive

Re: Blocking online music sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux