Re: Virtual hosts with Jigsaw 2.0.2, JVM1.2, NT4+SP5

I incorrectly posted this message to the www-jigsaw-request list (sorry), so am
sending it again to the www-jigsaw list.  Apologies to anyone who has already
seen it.
====
Thanks, Benoit, for the tips!  I am much closer now, but not quite there.  Let
me say that I want to set up my virtual server so that "http://localhost/"
takes me to the standard Jigsaw document tree, while I want "http://tonyc/" (my
DNS name is "tonyc") to take me to my own document tree, which is located
outside of the Jigsaw document tree.  By default, Jigsaw does a name lookup to
call itself "http://tonyc/", so I have to set the hostname to
"http://localhost/" on the Jigsaw command line.

I set up my VirtualHostResource and VirtualHostFrame as in the docs, and set
the server's root name to "virtual".  However, when I stopped and restarted
Jigsaw, it didn't work.  Instead, "Class.forName" threw a
ClassNotFoundException.  Checking "http-server.props", I found that it had the
lines

...
org.w3c.jigsaw.root.class=org.w3c.jigsaw.resources.DirectoryResourc e
...
org.w3c.jigsaw.root.name=virtual
...

which seems to me to be a mismatch.  I tried changing
"org.w3c.jigsaw.root.class" to "org.w3c.jigsaw.resources.VirtualHostResource",
but still got the same "Class.forName" ClassNotFoundException.  Finally, I
changed the "http-server.props" file to be

...
org.w3c.jigsaw.root.class=org.w3c.jigsaw.resources.DirectoryResourc e
...
org.w3c.jigsaw.root.name=root
...

which allowed Jigsaw to run again, but with virtual hosting now disabled.

So, what I'm really after is any help anyone can give to me in suggesting what
might have gone wrong.

Je vous remercie beaucoup en avance pour toute information.
  
	Cheers,
			Tony.

> The dnd doesn't work fine with swing, so there is another way to add
> resources / frames. Read the documentation at [1] and [2].
> 
> [1] http://www.w3.org/Jigsaw/Doc/User/JigAdmin/docs_space.html#add
> [2] http://www.w3.org/Jigsaw/Doc/User/JigAdmin/edit.html#menu

------------------------------------------------------------------------
Any views expressed in this message are those of the individual  sender,
except  where  the  sender  specifically  states them to be the views of
Reuters Ltd.

Received on Thursday, 20 May 1999 19:41:05 UTC