Re: [squid-users] always/never_direct....

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 15 Mar 2004 14:41:10 -0700 (MST)

On Mon, 15 Mar 2004, Chris Knipe wrote:

> Lo all,
>
> I seem to not understand always_direct / never_direct properly....
>
> acl local src 66.18.x.x/29
> cache_peer a.a.a.a parent 3128 0 no-query no-digest no-netdb-exchange
> round-robin
> cache_peer b.b.b.b parent 3128 0 no-query no-digest no-netdb-exchange
> round-robin
> cache_peer c.c.c.c parent 3128 0 no-query no-digest no-netdb-exchange
> round-robin
> always_direct allow local
> never_direct allow all

You shouldn't mix always_direct and never_direct together. Just try deleting
the never_direct line and see if that works.

With Squid there is no need to add a default "all" rule because the default
is always the opposite of the last rule in the list.

Duane W.
Received on Mon Mar 15 2004 - 14:41:10 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST