Re: [squid-users] Q: Deny all dstdomains except those in list.

From: Mike Hoskins <mike@dont-contact.us>
Date: Wed, 14 Aug 2002 15:22:30 -0700 (PDT)

On Wed, 14 Aug 2002, AMV Webmaster wrote:
> acl allowedsites dstdomain "/usr/local/squid/etc/allowed.txt"

Believe that should be,

acl allowedsites dstdom_regex -i "/usr/local/squid/etc/allowed.txt"

> .yahoo.com
> .msn.com
> .ourwebsite.com

And these should have the .'s escaped as follows,

\.yahoo\.com
\.msn\.com
\.ourwebsite\.com

I just received help on doing something similar on the list yesterday, and
it seems to be working here. :)

Later,
-Mike

--
"Information is not knowledge, Knowledge is not wisdom, Wisdom is not
 truth, Truth is not beauty, Beauty is not Love, Love is not music
 and Music is THE BEST."  --Frank Zappa
Received on Wed Aug 14 2002 - 16:22:40 MDT

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