Rename ROOT.xml in conf/Catalina/localhost to newContextName.xml.
Restart tomcat.
--David
Rizalino DeVilleres wrote:
Guys,
Sorry for the newbie question but I went through all the Tomcat 5.5
docs, and searched online and couldn't find any documentation how to
redefine that path.
I
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: Is there a way to remap/replace webapps/ROOT?
Rename ROOT.xml in conf/Catalina/localhost to newContextName.xml.
Restart tomcat.
Not sure that's what he's asking for.
Rizalino DeVilleres wrote:
I see the following
David,
Thanks for the quick response.
I've tried your recommendation, and it does remap the webapps/ROOT to
whatever the name of the xml file is.
However, if I rename it public_html.xml, it looks for
/path/to/public_html/public_html instead of just /path/to/public_html.
Here is a snippet of
From: Rizalino DeVilleres [mailto:[EMAIL PROTECTED]
Subject: RE: Is there a way to remap/replace webapps/ROOT?
server.xml
Host name=localhost
appBase=/path/to/public_html deployOnStartup=true
This says your webapps will normally be deployed in
/path/to/public_html; is that what you want
Charles, I posted the previous post prematurely before I had a chance to
read your recommendation... and it worked!!!
Thanks a lot guys for all the help... I had to remove the appbase
attribute within the Host element in the server.xml...
Rizalino de Villeres
: Monday, October 16, 2006 2:37 PM
Subject: RE: Is there a way to remap/replace webapps/ROOT?
David,
Thanks for the quick response.
I've tried your recommendation, and it does remap the webapps/ROOT to
whatever the name of the xml file is.
However, if I rename it public_html.xml, it looks for
/path