virtual hosting using host: header, single IP

From: Graham Toal <[email protected]>
Date: Tue, 6 May 1997 11:15:35 -0500 (CDT)

Can squid do the new style of virtual hosting, whereby you give a user
a CNAME alias to a web site, and the web site looks at the "Host:"
header supplied by the browser, and rewrites an address in the style
of http://www.user.site.com/... into something like www.site.com/~user/...

I suspect this has to be done in the generic rewriting external
program. Are any extensions needed or are all the hooks there? Before
I write one, has anyone done it already?

Also on the subject of "Host:" rewriting - when a user fetches from such
a host using a squid cache, are those headers passed all the way back
up the chain? I'm worried they may get lost somewhere, say if a CERN
cache is a parent perhaps. It seems a very dodgy way of virtual
hosting; anyone know if it ever breaks?

G
Received on Tue May 06 1997 - 14:37:31 MDT

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