Recommended configuration for domain virtual host accelerators:
configure --disable-internal-dns
httpd_accel_host your.main.domain
httpd_accel_uses_host_header on
httpd_port your.visible.ip.address:80
acl accel_servers dst ip.of.backend.server1 ip.of.backens.server2 ...
acl port80 port 80
acl http protocol http
http_access allow accel_servers http port80
http_access deny all
/etc/hosts:
ip.of.backend.server www.some.domain
ip.of.backend.server2 www.someother.domain
...
and PLEASE do not reply to another thread when making a new question.
Your question easily gets lost that way.
-- Henrik Nordstrom Squid hacker Helios de Creisquer wrote: > > Hi ! > > We are running Squid as a accelerator, redirecting request to just one > host > (Squid listens on 123.123.123.123:80 and query 127.0.0.1:8080 apache > server) > > We use on the apache server VirtualHosts by name, but it seems that > squid > doesn't forward the Host: headers from HTTP/1.1 > > I've tried the options redirect_rewrites_host_header and > httpd_accel_uses_host_header > on|on / on|off / off|on / off/off > but with no result: no host header is forwarded... > > Is this the normal squid comportement ? in this case, is there an option > allowing > to forward Host headers ? > > Or is this unusual ? in this case I ask the permission of flooding the > ml with > my squid.conf (just 20 lines...) ;o) > > Thanks for any help... > > Cheers, > -- > Helios de Creisquer > mail: creis@zehc.netReceived on Fri Mar 16 2001 - 11:03:38 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:41 MST