Re: [squid-users] Squid 3 vhost setup

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 10 Dec 2004 02:55:00 +0100 (CET)

On Wed, 1 Dec 2004, Greg Pierce wrote:

> I'm having trouble finding good docs on vhost accelerator configuration in
> Squid3.

Not much has been written yet as Squid-3 is still under development, but
the basic principle is

http(s)_port to accept traffic, with the proper options for the kind of
web server you want squid to act as (single domain, Host header based, IP
based, ...)

cache_peer to define where to forward traffic

cache_peer_access to select what to forward where

> I have this working with a redirect script, and it's passing the request to
> right server -- but it's passing the request as a HTTP 1.0 request w/o the
> correct host header for the backend server to determine what site to serve.

You are most likely missing the vhost option in your http_port.

Regards
Henrik
Received on Thu Dec 09 2004 - 18:55:04 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST