Re: virtual hosting using host: header, single IP

From: Stefan Monnier <monnier+/news/lists/>
Date: 06 May 1997 12:50:14 -0400

Graham Toal <> writes:
> 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 into something like

The http server doesn't necessarily rewrite it in this way. It might serve a
totally different area (the server can be accessed as (both CNAMEs for and the http server will then
serve the FTP area (also available through the wuftpd server, of course)).

It already works across squid (and I believe it also works across Netscape's

> 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?

What exactly are you trying to do ?

Received on Tue May 06 1997 - 14:32:15 MDT

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