Re: [squid-users] help!!!

From: Colin Campbell <[email protected]>
Date: Thu, 26 Jul 2001 07:21:03 +1000 (EST)

Hi,

On Wed, 25 Jul 2001, stef ter stefanopoylos wrote:

> How can i use never_direct option ?
> If i put the following
> acl local-external src 0.0.0.0/0.0.0.0
> acl local-external never_direct deny
> in the never_direct tag then i get an error from squid witch said :
> The cache administrator does not allow this cache to make direct
> connections to origin servers, and
> All configured parent caches are currently unreachable

For a start your syntax is incorrect. Here's the example from squid.conf:

# acl local-intranet dstdomain foo.net
# acl local-external dstdomain external.foo.net
# always_direct deny local-external
# always_direct allow local-intranet
# never_direct allow all

Secondly, if all your parent caches are unreachable, and you are not
allowed to go direct, exactly what are you hoping to achieve with
"never_direct"?

Colin
Received on Wed Jul 25 2001 - 15:21:20 MDT

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