Search squid archive

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

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

 



On ons, 2008-08-20 at 16:28 +0300, Wennie V. Lagmay wrote:
> 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?

It's identical in 2.7.

cache_peer to tell Squid where it may forward.

never_direct to tell squid that it may not go direct.


What does cache.log say on the first request after a restart?

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux