Please unsubscribe me

From: Collegebookzone <Jason@dont-contact.us>
Date: Thu, 24 Feb 2000 23:45:37 -0500

-----Original Message-----
From: Kendall Lister [mailto:kendall@charon.net.au]
Sent: Thursday, February 24, 2000 4:55 PM
To: Squid Users Mailing List
Subject: Re: Please, help with always_direct/never_direct

On Thu, 24 Feb 2000, Sergey Solyanik wrote:

> Here is my rules, but it didn't work ;(
>
> # Solik's stuff
> acl locl0 dstdomain solik.net
> acl locl1 dstdomain tdgu.sumy.ua
> acl locl2 dstdomain sumy.net
> acl locl3 dstdomain sumy.com
> acl locl4 dstdomain sim.net.ua
>
> always_direct allow locl0 locl1 locl2 locl3 locl4
> always_direct deny all
> never_direct allow all

The problem is in your logic - the first always_direct line only allows
sites that match _all_ of the domains, not _any_ of them. Try this:

acl local_sites dstdomain solik.net tdgu.sumy.ua sumy.net sumy.com
always direct allow local_sites
always_direct deny all
never_direct allow all

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Thu Feb 24 2000 - 22:06:02 MST

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