[squid-users] Reverse proxy with multiple backend servers

From: Ovidiu EFTIMIE <[email protected]>
Date: Tue, 24 Oct 2006 11:42:36 +0200

Hi,
I am very new to squid (using the 2.6.STABLE4 on Windows 2003) and I'm
in desperate need to configure Squid as a reverse proxy with 2 backend
servers.
I should have the proxy respond to www.mydomain.com and it should
cache data from aaa.mydomain.com, bbb.mydomain.com.
Each of this backend servers serves different data.
I've modified my hosts file so
127.0.0.1 www.mydomain.com
127.0.0.1 aaa.mydomain.com
127.0.0.1 bbb.mydomain.com

anc configured in squid.conf
http_port 80 defaultsite=www.mydomain.com
cache_peer 10.200.120.40 parent 80 3130 originserver
cache_peer 10.200.120.30 parent 80 3130 originserver

But it's not working. I mean I have the page of www.mydomain.com
displayed, but if i do a CTRL+Refresh I get
    * Unable to forward this request at this time.
    * The cache administrator does not allow this cache to make direct
connections to origin servers, and
    * All configured parent caches are currently unreachable.
The page seems to be displayed once (it's not the browser's cache) and
then Squid doesn't work anymore. If I restart it, it does the same
thing - display the page once ...

Can you tell me how should I configure this to work ?

Thanks,
Ovidiu
Received on Tue Oct 24 2006 - 03:42:44 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST