Re: [squid-users] always_direct and never_direct confusion

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 04 Aug 2006 00:31:35 +0200

tor 2006-08-03 klockan 11:25 +0700 skrev Beast:
> Henrik Nordstrom wrote:
> > On Wed, 2006-08-02 at 16:40 +0700, Beast wrote:
> >
> >
> >> This make all request direct, including special_domain.
> >>
> >
> > Then triplecheck your special_domain definition, and "squid -k parse"
> > output if any.. (should be blank
> I do it once again, and it still correct to my knowledge.
>
> acl special_domain dstdomain .example.com .example.net
>
> And i request page such as : www.example.com and webmail.example.com
> (isn't it should be covered by ".example.com"?)
>
> squid -k parse does output nothing (no error)

Should work..

I often use constructs like the following to force requests to a
specific parent:

cache_peer ip.of.other.proxy parent 80 0 no-query
acl specialsite dstdomain .domain.name
never_direct allow specialsite
cache_peer_access allow ip.of.other.proxy specialsite

Regards
Henrik

Received on Thu Aug 03 2006 - 16:31:42 MDT

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