tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alain Leblanc" <alebl...@rochester.rr.com>
Subject Re: MAPPING configuration error
Date Fri, 25 Apr 2003 18:45:18 GMT
Guess I'll never stop learning. Looking at it again, I probably assumed that
the "/" path would handle the default web application for the host. This is
why things miraculously started working after I defined a context with the
"" path and the right docBase.

Thanks for the feedback.

Alain

----- Original Message -----
From: "Shapira, Yoav" <Yoav.Shapira@mpi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, April 25, 2003 1:12 PM
Subject: RE: MAPPING configuration error



Howdy,

>You may define as many Context elements as you wish, nested within a
Host
>element in conf/server.xml. Each such Context MUST have a unique
context
>path, which is defined by the path attribute. In addition, you MUST
define
>a
>Context with a context path equal to a zero-length string. This Context
>becomes the default web application for this virtual host, and is used
to
>process all requests that do not match any other Context's context
path.

We should modify the above docs, as they can mislead people like they
misled you.  You don't have to explicitly define this context: tomcat
will implicitly define it for you if you don't explicitly define it.

Yoav Shapira
Millennium ChemInformatics



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message