Mark Thomas,
To start on a positive note, I 've never found an open source project with
real help as accessable, as reliable, as knowledgeable, or as patient as I
have with Tomcat. I have access to amazing
support/discussion groups, with immediate communications to developers and
document writers. It's better than any product I've ever paid for.
I know you spend a LOT of time "with" end users. Thanks a million. You really
make tomcat work for us.
With your pointers I've been able to glean the info I needed and I've fixed my
problem.
I don't think there is any "wrong" info on the doc pages. But either I am not
seeing everything there is to read, or there is a lack of explanation about
contexts. I mean, really, I've been using tomcat for a few years and I learned
the whole thing alone. Just me, a book, tomcat, and this list (I guess that's
not really alone). And frankly, there is no reasonable explanation of what a
context is. I feel like the documentation might be assuming I know more than I
do. Me and anybody else who has very few resources to become introduced to
tomcat.
Where am I looking on the site? Well, I go to the tomcat page and click
Configuration in the Reference section of links. I click on Context under the
Containters section of links.
The definition of a context there is VERY VAGUE. And although it lists the
elements of a context, it gives NO EXAMPLES and no explanation of how to create
a context, and what a context does. It says what a context is, but not what it
does.
Please consider revising the context page to make it clearer. If I had a
firmer understanding, I would volunteer a revision myself.
Justin
- Original Message
From: Mark Thomas <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Tuesday, November 7, 2006 10:27:38 PM
Subject: Re: Include Directive Misbehaving
Justin Jaynes wrote:
> Oh snap! That's exactly what's happening. Can you point me to a good
> document that expalins how to set up contexts? I've got everything set up
> exactly as you described.
>
> Any good reading for a comprehensive (or even rudimetry) understanding would
> be greatly appreciated.
The on-line docs should have what you need. If we can id places where
changes are needed then I'll get them incorporated.
> If you can explain it in a reasonable length that is appropriate to this
> forum (and convenient to your time), it would also be greatly appreciated.
The short version is:
- a context's docBase should never be the same as a host's appBase
A suitable directory structure for multiple hosts could be:
$CATALINA_HOME\host1-webapps -> Host1 appBase
$CATALINA_HOME\host1-webapps\ROOT -> Default context for Host1
$CATALINA_HOME\host1-webapps\app1 -> Application on Host1
$CATALINA_HOME\host1-webapps\app2 -> Application on Host1
$CATALINA_HOME\host2-webapps -> Host2 appBase
$CATALINA_HOME\host2-webapps\ROOT -> Default context for Host2
$CATALINA_HOME\host2-webapps\app3 -> Application on Host2
etc for as many hosts and applications as you like
> The explanation in the doc on the tomcat.apache.org site seems to only cover
> what I am using, which treats every director as a webapp. Definatly not what
> I want.
Which page(s) are you looking at? If the docs tell you to do this they
need to be changed. I can't see anything like this but I could easily
be missing the obvious.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]