At 14:37 8/22/2001 +0200, Louis Schoeman wrote:
> > Dear Sir/Madam
> >
> > I need to know how I can block both http://www.domainname.com as well as
> > http://domainname.com without having to type
> > both derivatives of the same domain name in the *.txt file.
> >
> > The blocked list is in a *.txt file and some of the site you can enter
> > with or without the www.
> >
> > My Squid.conf is as follows
> >
> > 'acl blockedsites dstdomain "/etc/squid/block.txt"
> > 'http_access blockedsites deny'
Put in /etc/squid/block.txt the following:
.domainname.com (note the leading dot)
Then every domain ending with domainname.com wille be blocked. This layout
is used since Squid 2.3S5(?).
Grtz Gerben.
Received on Wed Aug 22 2001 - 09:35:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:53 MST