Is it possible to add a ROOT context to a host using the administrative webapp? I know how to do it by editing the server.xml (or Catalina/host/context.xml) file, but with the admin webapp I can't get a valid ROOT context added.
If I try to add the ROOT context with a blank path (""). I get an error that the path must start with a slash ("/").
If I try to add the ROOT context with a single slash ("/"), all links and stylesheet/javascript includes contain a slash at the front of them, which causes many problems. When I look at the context.xml file, it seems as though the path gets written to the file as "/" instead of as "" as it should be for a ROOT context.
I looked through bugzilla, and found this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=26399
The closing comment is very confusing to me though. It says that management tools will refer to ROOT contexts as "/". It also says that internally (and the xml config files count as internal) ROOT contexts will be referred to as "". He concludes by saying "this is not a bug anyway"
Now to me this seems like a bug - I am attempting to add a ROOT context using "/", and it gets added in server.xml as "/" instead of as "".
I'm hoping that I am just doing something wrong and there is no bug - so, does anybody know how to add a ROOT context to a host using the administrative webapp?
Thanks, Matt Bathje
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]