On Thu, 19 Jul 2001 [EMAIL PROTECTED] wrote:
>
> Hi Will,
>
> the problem is, that when I put directories or .war files in webapps, the
> context is added to
> all virtual hosts. But I need individual contexts for each virtual host.
>
For virtual hosts, you are either running Tomcat 3.2 and using the <Host>
parameter in the server.xml file, or running multiple copies of Tomcat
3.1.
If you are using the <Host> paramter, you'll have to add the contexts
manually, or you can look at the admin servlets distributed with
Tomcat. While I couldn't get them to work, apparantly there is a context
manager that allows you to view, add and delete contexts from within a
<host> section of the server.sml file.
Good luck!
Will