Search squid archive

How do I configure Squid forward all requests to another proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux