Re: How to make my parent retrieve misses?

From: Kendall Lister <kendall@dont-contact.us>
Date: Sat, 15 Jan 2000 08:29:37 +1100 (EST)

On Fri, 14 Jan 2000, Jonathan Benson wrote:

> I have a problem where Squid is still retrieving files directly rather
> then via it's parents. I DO want it to do this for the .au domain (as
> it's generally a few cents per MB cheaper) but all other domains it
> should still retrieve the file via the parent.

> cache_peer proxy1.mel.connect.com.au parent 8080 3130 weight=3
> cache_peer proxy2.mel.connect.com.au parent 8080 3130 weight=2
> cache_peer proxy.syd.connect.com.au parent 8080 3130 no-query default
>
> neighbor_type_domain proxy1.mel.connect.com.au sibling .au
> neighbor_type_domain proxy2.mel.connect.com.au sibling .au
> neighbor_type_domain proxy.syd.connect.com.au sibling .au
>
> hierarchy_stoplist cgi-bin ? .cgi .pl .ocean.com.au
>
> acl QUERY urlpath_regex cgi-bin \? .ocean.com.au .cgi .pl
> no_cache deny QUERY
>
> acl local-servers dst 203.12.234.0/24
> always_direct allow local-servers
> always_direct deny all
>
> prefer_direct off

You might try adding in 'never_direct deny all' after this.

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Fri Jan 14 2000 - 19:03:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:24 MST