[Ilugc] Blocking Sites with SQUID Proxy

  • From: linuxrockers@xxxxxxxxx (Ramesh Jothimani)
  • Date: Thu Feb 18 04:53:46 2010

I need to block some of my sites with SQUID Proxy. I added following lines
to my SQUID configuration file but still the site remains unblocked.How to
block it?

acl blocksites url_regex yahoo
http_access deny blocksites

I have also tried saving some url & filter content in a file and edited
configuration as follows,

acl blocksites url_regex "/etc/squid/squid-block.acl"
http_access deny blocksites

The squid-block.acl file contents are,
.cricinfo.com
mp3


Please help me to block the sites !

Other related posts: