Re: [squid-users] always_direct and never_direct confusion

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 02 Aug 2006 10:34:21 +0200

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?

> 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

Regards
Henrik
Received on Wed Aug 02 2006 - 02:31:52 MDT

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