> From: Andreas Piesk [mailto:apiesk@virbus.de]
> Sent: Thursday, September 06, 2001 8:43 AM
>
> > 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
>
oops. i forgot something important:
http_access deny FILTER_BY_DOMAIN <acl>
http_access deny FILTER_BY_URL <acl>
you must specify for whom the filter should be applied.
ciao -ao
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:46:42 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:03 MST