Hi,
On Thu, 12 Jul 2001, Pete Shinners wrote:
> the best information i could find on the internet said to add
> the following line to my config...
>
>
> cache_peer 127.0.0.1 parent 5865 7 no-query default
Looks good to me.
You might also need to look at
always_direct
never_direct
perfer_direct
Or you could look at the FAQ at www.squid-cache.org, particularly:
> 4.9 How do I configure Squid forward all requests to another proxy?
>
> Note: The information here is current for version 2.2.
>
> First, you need to give Squid a parent cache. Second, you need to tell
> Squid it can not connect directly to origin servers. This is done with
> three configuration file lines:
>
> cache_peer parentcache.foo.com parent 3128 0 no-query default
> acl all src 0.0.0.0/0.0.0.0
> never_direct allow all
>
> Note, with this configuration, if the parent cache fails or becomes
> unreachable, then every request will result in an error message.
>
> In case you want to be able to use direct connections when all the parents
> go down you should use a different approach:
>
> cache_peer parentcache.foo.com parent 3128 0 no-query
> prefer_direct off
>
> The default behaviour of Squid in the absence of positive ICP, HTCP, etc
> replies is to connect to the origin server instead of using parents. The
> prefer_direct off directive tells
> Squid to try parents first.
Colin
Received on Thu Jul 12 2001 - 17:25:06 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:06 MST