RE: [squid-users] blocking a url list

From: Palmer J.D.F. <J.D.F.Palmer@dont-contact.us>
Date: Tue, 19 Feb 2002 08:41:39 -0000

Hi,

This is how we do it here,

#This should have been declared anyway describing allowable source IP
adresses to use the cache
acl localrange src ***.***.0.0/255.255.0.0 #(for a class B)

#Then to ban access to sites from those allowable addresses...

acl BANNEDFROMALL dstdomain .microsoft.com
http_access deny localrange BANNEDFROMALL

Cheers,
Jezz Palmer.

****************************************
Jezz Palmer.
Internet Systems Officer.
Library and Information Services
University of Wales, Swansea
Singleton Park
Swansea
SA2 8PP
Tel 01792 513260
****************************************

> -----Original Message-----
> From: Li Xiang [mailto:lix@comp.nus.edu.sg]
> Sent: 19 February 2002 08:26
> To: squid-users@squid-cache.org
> Subject: [squid-users] blocking a url list
>
> Sorry, maybe it is just a silly question. i want to block a sequence of
> urls. i want to use several files (for different group of urls). inside
> the files i would just write one web site like www.microsoft.com, and i
> wish all pages from that website be blocked. can you suggest me a way of
> doing so?
>
> thanks in advance,
>
> Li Xiang
>
Received on Tue Feb 19 2002 - 01:39:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:26 MST