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 <[EMAIL PROTECTED]> wrote:
On 6/6/07, Santiago Del Castillo <[EMAIL PROTECTED]> 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

Reply via email to