|
|
我增加了如下内容,以进行过滤,其中IP过滤没有问题,但是过滤关键字却总是不行,不知问题出在哪?
acl allow_ip src "/etc/squid/allow_ip"
http_access allow allow_ip
http_access deny all
acl allow_time time MTWHF 12:01-16:01 #上网时间段也控制不了
http_access allow allow_ip allow_time
acl deny_file urlpath_regex -i \.mp3$ #关健字MP3也不能过滤
http_access deny deny_file
acl deny_site url_regex .baidu.com #网站也不能过滤
http_access deny deny_site |
|