On Wed, 18 Jul 2001 [EMAIL PROTECTED] wrote:
>
> Hi guys,
>
> maybe this is obvious, but I just don't get it.
>
>
> I configured several virtual hosts with several individual contexts defined
> in server.xml.
> Works fine.
>
> Is it possible to give every single vhost his own webapp-dir where
> developpers can put
> new contexts, which are automatically added after restarting tomcat so no
> editing of server.xml
> is required.
>
> I understand that I can configure the base location with home in
> <ContextManager>. Is
> there a similar way to solve my problem.
>
>
> Thanks for your input and take care,
>
>
> stefan
>
>
It's not feasible in 3.2, but 4.0 works exactly the way you
describe. Each virtual host has a directory configured with the
"appBase" attribute of the <Host> element, and webapps for that virtual
host are automatically configured (the way that "webapps" works in 3.2).
Craig McClanahan