Re: [SQU] accelerator with name-based virtual host

From: Steven Haryanto <steven@dont-contact.us>
Date: Wed, 27 Dec 2000 04:36:04 +0700

At 23:16 26/12/2000, Henrik Nordstrom wrote:
> > When squid accelerator is configured not in vhost_mode nor
> > vport_mode:
> >
> > httpd_accel_host 127.0.0.1
> > httpd_accel_port 80
> >
> > but with:
> >
> > httpd_accel_uses_host_header on
> >
> > Shouldn't squid still connect to the real server specified
> > in httpd_accel_host (127.0.0.1) and not to the host which
> > is specified by the Host: header in the incoming request?
>
>Yes, if using squid-2.4 and configured with
> httpd_accel_single_host on

This is exactly what I wanted. However, I have also succeded
getting the virtual hosts to work using Squid 2.3 and your
recommended setup. Plus, no problem with redirect since both
Apache and Squid listen on the HTTP default port.

Thanks for being helpful (for all of us).

Regards,
Steve

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Dec 26 2000 - 23:24:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:07 MST