Re: [squid-users] Problem with Squid 2.6 as reverse proxy

From: Santiago Del Castillo <santiago.del.castillo@dont-contact.us>
Date: Wed, 6 Jun 2007 18:22:58 -0300

But a lot (more than one houndred) vhosts will point to this squid and
not everyone point to the same server, how do I specify which domain
goes to which origin? Do I have to set it one by one by hand? :-/

Cheers!
Santiago

On 6/6/07, Guillaume Smet <guillaume.smet@gmail.com> wrote:
> On 6/6/07, Santiago Del Castillo <santiago.del.castillo@fnbox.com> wrote:
> > Becasue i'm not setting as sibling right now. First i want to make it
> > work as virtual host reverse proxy. Once working i'll set it as
> > sibling squid.
>
> You have to set a parent cache_peer anyway. Squid 2.6 is a bit
> different than 2.5 for that.
>
> So define a parent cache peer and add sibling when you want it.
>
> For example, I have something like:
> cache_peer X.X.X.X parent 80 0 no-query no-digest no-netdb-exchange
> no-delay originserver
> which is my Apache server
> then I have:
> cache_peer X.X.X.X sibling 8080 3130 no-digest no-netdb-exchange no-delay
> for the sibling reverse proxy.
>
> HTH.
>
> --
> Guillaume
>
Received on Wed Jun 06 2007 - 15:23:10 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT