Re: Accessing virtual Web-servers with Squid v1.1.* and Squid v2.0 ...

From: Henny Bekker <>
Date: Tue, 20 Oct 1998 02:23:42 +0200 (METDST)

Hi Henrik,

>| I was wondering if Squid v1.1 knows how to deal with virtual Web-servers.
> Yes, it does, when given proper requests.
>| When I access a Squid v1.1.22 proxy-server the HTTP/1.1 query will be
>| translated to a HTTP/1.0 query.. At least, this is what I see at our
>| Web-server.. Observe the next session:
> It will be translated to HTTP/1.0 + Host: header (+ a number of other
> things).
Right.. Does squid ignore the "host: header" on incomming HTTP/1.1 requests??

>| GET HTTP/1.1
>| host:
> This is NOT a legal HTTP/1.1 request. The request URI and the Host:
> header mismatches. Proxies (like Squid) make use of the absolute request
> URI present in proxy request, while servers rely on the Host: header
> since they only get a abs_path URI from most client/proxies.
I see.. But how about the persistend HTTP/1.1 connections from a Squid v2.0
proxy to a remote HTTP/1.1 Web-server ??? How does the remote Web-server
recognize when Squid v2.0 wants to create a persistend HTTP/1.1 connection??
I tought it was using the HTTP/1.1 protocol specifier for it??

Cheers, Henny

> ---
> Henrik Nordström
> Spare time Squid hacker

E-Mail:   ! Disclaimer: The main obstacle to progress
http   !             progress is not ignorance,but
PTT:    Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge
X500:   cn=Henny Bekker, ou=Ontwikkeling, ou=ACCU, o=UU, c=NL            o
Paper:  H.J.Bekker, Utrecht University, Computer Centre              _  /- _
        Po Box 80011, 3508 TA  Utrecht  Nederland                   (_) > (_)
Received on Mon Oct 19 1998 - 18:04:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:34 MST