Re: [squid-users] Problem with name based virtual hosts

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 08 Apr 2010 01:25:16 +0000

On Wed, 7 Apr 2010 20:48:22 +0200, Andreas Müller <amuelle1_at_gmx.de> wrote:
> Hello,
>
> I've a problem with a squid as accl for one apache with different name
> based
> virtual hosts.
>
> It seems that squid doesn't request the apache with the right http host
as
> send by the client. I can check this on a second IP address with is
direct
> bound to apache. Using the bypass works, using via squid accl calls the
> "main" vhost.
>
> See the config below. When I call one of the "dstdomain" hosts I always
get
> a request to www.domain.de on apache.
>
> Does anybody now what I doing wrong? Is there somewhere a switch missing
to
> pass the original hostname?

You require the "vhost" option on the accel http_port lines.

Amos
Received on Thu Apr 08 2010 - 01:25:22 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 08 2010 - 12:00:03 MDT