Bob,

Welcome, fellow newbie! I struggled with this one also. It turns out that
the <context> element for a root directory MUST be nested inside the <host>
element in server.xml. The relevant documentation reads:

"You may define as many Context elements as you wish. 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."

Fritz

-----Original Message-----
From: Bob Bronson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 12:14 PM
To: [email protected]
Subject: Newbie Question: conext.xml

Hello everyone,

[snip...]
Let me explain what I want to do. I'm hoping someone could tell me 
where I'm going wrong, in a polite way. :)

I'm trying to use TC 5.5.9 on Win 2k.

I want the "document base" directory (the <Context>'s "docBase") for my 
default web application to be something other than ROOT. Please don't 
ask, "why?", this is a simplification of a different but equivalent 
problem.

[snip...]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to