Virtual Hosts HELP!!

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 UTC