[Xitami] How-to? Set up multiple web sites using a single static IP address

Ewen McNeill xitami@lists.xitami.org
Mon, 09 Jul 2001 07:32:49 +1200


In message <3.0.6.32.20010626175104.00ad0c80@pop.surrey.ac.uk>, Andrew Tate writes:
>Others have already replied and given some information.  The way the server 
>decides on which site to serve up is the name given in the http request.  [...]
>However, this only works in recent browsers and may not be supported with 
>light wap phones etc - I don't know.  

The Host: header is compulsory in HTTP/1.1, which has been out for about
2 years IIRC.  It was widely supported before that, and pretty much
everything that has been produced in the last 5-6 years has used the
Host: header.  Basically I don't see any problem using Host:-based
virtual hosting any longer; there are very very few people using the
older HTTP/0.9 and HTTP/1.0-without-Host: browsers now, and a lot of
sites that won't work for them if they continue to do so.

If you're really bothered, put all the virtual hosts in subdirectories
and make the base configuration point at each subdirectory so that users
can choose which one that they want.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com