David Gibson wrote:

I got this to work using virtual ips, a redirector, and the cache peer statements.

cache_peer server1.wherever.org parent 80 443 no-query front-end-https=on
cache_peer server2.wherever.org parent 80 443 no-query front-end-https=on
never_direct allow all
acl acl1 dstdomain server1.wherever.org
cache_peer_access server1.wherever.org allow acl1
cache_peer_access server1.wherever.org deny all
acl acl2 dstdomain server2.wherever.org
cache_peer_access server2.wherever.org allow acl2
cache_peer_access server2.wherever.org deny all
redirect_program /opt/scripts/redirector.pl

Thanks, that was working! Just one note for the record: I give my cache_peer an IP address and this ip also has to be used in the cache_peer_access lines, although the "external" name is server1.wherever.org.

httpd_accel_single_host off

This is unknown to my squid 3.0 version, isn't this from 2.x?

#### here's the redirector- don't know if all of this is really necessary

It was not necessary (yet) for me, but maybe I'll have to use it for some stupid hardcoded links.


Thanks! :-))))) Markus



Reply via email to