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

Reply via email to