[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-users
Subject: Please unsubscribe me
From: "Collegebookzone" <Jason () collegebookzone ! com>
Date: 2000-02-25 4:45:37
[Download RAW message or body]
-----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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic