Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: zee_idowu on July 14, 2004, 04:13:10 PM

Title: Blocking a site on squid
Post by: zee_idowu on July 14, 2004, 04:13:10 PM
Hello
Pls Zee would like to know how to block a site on a squid server.
Thanks
Title: Blocking a site on squid
Post by: Ricky on July 15, 2004, 06:07:49 AM
The below method is used to block websites.. containing words.. or url , replace xxxx with the words you want to block.

Code: [Select]
acl badURL url_regex -i <urls xxxx xxxx xxxx xxxx xxxx>
http_access deny badUrl
http_access allow myNet
http_access deny all