acl office_times time MTWHFAS 00:00-8:30
acl office_times time MTWHFAS 17:30-23:59
acl allow_dstdomain dstdomain "/etc/squid/allow_site.txt"
acl disable_extension urlpath_regex -i \.mp3$ \.flv$ \.vbs$
http_access deny office_times
http_access allow allow_dstdomain
http_access deny disable_extension
# cat /etc/squid/allow_site.txt
.sina.com
.baidu.com
阅读(408) | 评论(0) | 转发(0) |