[squid-users] How do I configure Squid forward all requests to another proxy?

From: Wennie V. Lagmay <wlagmay_at_yanbulink.net>
Date: Wed, 20 Aug 2008 16:28:13 +0300 (AST)

Dear all,

Using squid-2.5 and 2.6 forwarding all request to another proxy is simple:

"How do I configure Squid forward all requests to another proxy?
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 allNote, 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"

However I am trying to do it with squid-2.7STABLE4 and it is not working. Can any body help me howto accomplish this?

Thank you very much.

Wennie
Received on Wed Aug 20 2008 - 13:11:14 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 26 2008 - 12:00:04 MDT