Search squid archive

Re: Allow streaming for one particular srcdomain

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

 



Hi,

# acl aclname rep_mime_type mime-type ...
# 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.*


acl oksource srcdomain .msn.com .myvideo.com

acl media_files rep_mime_type -i ^audio/ ^video/ 

http_reply_access allow oksource 
http_reply_access deny media_files 

http_reply_access allows you to use user groups (proxy_auth, ips, ldap) and
time.
Sample:
#http_reply_access deny srcUser time mimeType


Paulo Pastoriza

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Allow-streaming-for-one-particular-srcdomain-tp1027416p3658303.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

  Powered by Linux