RE: [squid-users] restrict web sites in squid

From: Andreas Piesk <apiesk@dont-contact.us>
Date: Thu, 6 Sep 2001 08:43:02 +0200

> From: Chaminda Rathnasinghe [mailto:chami@cmb.ac.lk]
> Sent: Thursday, September 06, 2001 9:07 AM
>
> I want restrict certain web sites by name, How to do it in squid.
>

maybe this way:

acl FILTER_BY_DOMAIN dstdomain www.microsoft.com
acl FILTER_BY_URL -i http://www\.microsoft\.com/download/.*

http_access deny FILTER_BY_DOMAIN
http_access deny FILTER_BY_URL

ciao -ap

System Administration
VIRBUS AG
Fon +49(0)341-979-7424
Fax +49(0)341-979-7409
andreas.piesk@virbus.de
www.virbus.de
Received on Thu Sep 06 2001 - 00:43:06 MDT

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