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.

Reply via email to