How many times do I have to repeat this:
1.1.20 needs a small patch to support Host: header based acceleration at
the same time as virtual. I have said this several times lately
(including in the message you responded to... althought not very clear).
The patch is available from http://hem.passagen.se/hno/squid/
What the patch does is that it changes the processing order of virtual
and host based acceleration, so that the Host: header is used if
available, else the destination IP.
Without the patch the destination IP is always used when httpd_accel
virtual is set, regardless of what httpd_accel_uses_host_header is set
to.
Without the patch you either can't support Host: based virtual servers,
or old clients not sending a Host: header.
With the patch you can support all of them in the same way as it is
without a proxy, and get a higher hit ratio at the same time. This is
especially true if you have a mixed environment where some is using you
as a standard proxy, and some as a transparent proxy.
--- Henrik Nordström Sparetime Squid Hacker Jordan Mendelson wrote: > httpd_accel virtual 80 > httpd_accel_with_proxy on > httpd_accel_uses_host_header on > > Oddly enough, the IP instead of the host: header is printed in the logs > still. I was using IE4, and I'm sure it supports the host: header, it just > didn't put it in the logs. > > JordanReceived on Wed Feb 18 1998 - 16:23:50 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:55 MST