Re: [squid-users] always_direct and never_direct confusion

From: Beast <beast@dont-contact.us>
Date: Wed, 02 Aug 2006 16:40:38 +0700

Henrik Nordstrom wrote:
> On Wed, 2006-08-02 at 12:31 +0700, Beast wrote:
>
>> The requirement is simple, all domain must be direct, except for
>> special_domain which should be obtained from parent proxy.
>>
>> --squid.conf--
>> acl intra_domain dstdomain .internal.dom
>> acl intra_ip dst 10.0.0.0/8
>>
>
> why the intra stuff?
>
Just to make sure that the intranet sites were always direct.
>> acl special_domain dstdomain .example.com .example.net .example.org
>>
>> cache_peer proxy.isp.net parent 8080 0 no-query
>> never_direct allow special_domain
>> always_direct allow intra_domain
>> always_direct allow intra_ip
>>
>
>
> always_direct deny special_domain
> always_direct allow all
> never_direct allow special_domain
> never_direct deny all
>
This make all request direct, including special_domain.

Squid Cache: Version 2.6.STABLE1
configure options: '--enable-storeio=diskd,ufs'
'--enable-removal-policies=heap,lru' '--prefix=/opt/squid'
'--enable-delay-pools' '--enable-snmp' '--disable-ident-lookups'
Received on Wed Aug 02 2006 - 03:40:42 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:01 MDT