W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1996

Virtual Hosts HELP!!

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Thu, 5 Dec 1996 10:20:34 +0100 (MET)
Message-Id: <199612050920.KAA07162@www43.inria.fr>
To: bpm@techapp.com
Cc: www-jigsaw@w3.org
bpm@terraweb.com writes:
 > Ok, I've read the archive about adding Virtual Hosts.  I've tried
 > adding Virtual Hosts my self, but I can not get it to work.
 > 
 > I've added to the /etc/hosts file an alias "Virtual" to my machine.
 > What I want is to have a virtual host that points to an existing html
 > root directory and have the real host point to the /Admin & original
 > Jigsaw directory/resource structures.
 > 
 > Any help or pointers will be greatly appreciated.
 > 
 > This is what I've done.
 > 
 > .... 

Everything ok up to here,

 > 9) added name:  "Brian"
 >    added class: w3c.jigsaw.resources.PassDirectory
 >    clicked "Create"

This is where you get it wrong (unless your machine as "Brian" as an
alias). When you use that VirtualHostResource, children names should
*match* vritual host names. Eg when testing I use an alias on my
machine, and add a child having that name (including port number, if
needed, it turns out to be "mymachine.w3.org:8008")

The rest of the procedure is correct.

Anselm.
Received on Thursday, 5 December 1996 04:21:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT