> 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?

> public_html.xml:
> <Context path="" debug="0" swallowOutput="true">
> </Context>

The path attribute is not allowed, unless the <Context> element is in
server.xml, which is not recommended.  The actual path to the app is
determined by the name of the .xml file in conf/Catalina/localhost or
the name of the properly formatted directories or .war files under
webapps.  If you want a particular app to be the default app, its
<Context> element should be in a file named ROOT.xml in
conf/Catalina/localhost with a docBase attribute pointing to the
location of the app.

> This setup is still working with Tomcat/4.1.18.

Context configuration has changed significantly since then.

Just to clarify:

1) What is the actual file system path of your default webapp?
2) What is the actual value of the appBase attribute for your <Host>
element?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to