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 16:09:42 GMT
Not sure I want my name associated with this forever. :)

Here's an excerpt from
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html. That's
why I tought the context with zero-length path was required.


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.

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



Howdy,


>Well, I don't whose principle it is that when you finally ask a
question
>you find the answer yourself within 5 minutes.

Shall we call it LeBlanc's Principle, then? ;)

>For those who may run in the same problem: When defining <Context>s
within
>a
><Host> at least one <Context> must have a zero-length string as value
for
>the path attribute. It's in the docs. Doesn't look like it was a
>requirement
>for Tomcat3.2

It wasn't a requirement for 3.2 and it isn't for 4.x.

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