|
How To block by word in squid
Hi, All
I wanna know how to block Websites which contains on the page words like (sex xxx porn and so on.) I've tried so but didn't work.
acl blockbyword url_regex -i sex xxx
http_access deny blockbyword
and so
acl blockbyword urlpath_regex "/etc/squid/blockbyword.acl
http_access deny blockbyword
and put all the denied words.
|