I finally managed to configure it . So for anyone in the same situation as me here it is : http_port 80 vhost cache_peer 10.1.1.1 parent 80 0 originserver no-query no-digest name=www1 cache_peer_domain www1 www1.mydomain.com cache_peer 10.1.1.2 parent 80 0 originserver no-query no-digest name= www2 cache_peer_domain www2 www2.mydomain.com On 10/24/06, Ovidiu EFTIMIE <eovidiu@xxxxxxxxx> wrote:
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