Re: [squid-users] Access Rules Help

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Sep 2001 07:33:56 +0200

The one with a leading dot. Without the dot Squid will only match the
exact name, not the domain.

  .example.com

matches the whole domain example.com, including test.example.com and
example.com itself.

  example.com

only matches example.com, not test.example.com

--
Henrik Nordstrom
Squid Hacker
Eric Lam wrote:
> 
> I currently have a rules setup where all websites are banned, except for the
> ones listed.  I wish to to add all websites that contain the domain
> infograc.galegroup.com.  This includes...
> 
> http://infotrac.galegroup.com
> http://subdomain.infotrac.galegroup.com
> 
> Which of the following should I use?
> 
> acl ALLOW_DSTDOMAIN dstdomain .infotrac.galegroup.com
> acl ALLOW_DSTDOMAIN dstdomain infotrac.galegroup.com
> 
> Eric
Received on Tue Sep 18 2001 - 23:47:49 MDT

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