May 27, 2022, 07:12:33 PM

News : Linux Help Community Forum..

Author Topic: Blocking a site on squid  (Read 3321 times)

Offline zee_idowu

  • New Member
  • Posts: 3
Blocking a site on squid
« on: July 14, 2004, 04:13:10 PM »
Pls Zee would like to know how to block a site on a squid server.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Blocking a site on squid
« Reply #1 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