Dave J Woolley wrote:
> I suspect it actually completely ignores the address and
> uses the information from the Host header instead.
When Squid is "accelerating" (local URL received without protocol or
host part), and "httpd_acces_uses_host_header on" is used then
a) If a Host header is available then Squid reconstructs the full URL
ising the Host header as the host component in the URL, and completely
ignores the destination address used by the client.
b) If no Host header is available, then Squid will use the destination
IP address as Host name (both in the reconstructed full URL and added as
a Host header on the outgoing request).
If Squid is acting as a standard proxy and receives a request without a
Host header, then Squid will add one to the outgoing request with the
value of the host part from the URL (bonus: proxy aware http/1.0 clients
which does not use Host headers can access Host based virtual servers
when using a Squid proxy).
-- Henrik Nordstrom Spare time Squid hackerReceived on Thu Jul 01 1999 - 14:21:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:16 MST