Actually, if you put your hosts in webapps, Tomcat will automatically
create contexts for them, However, these will be in the form
http://server.domain..com/appname/. This is essentially the same as your
.war suggesting.
Creating virtual hosts out of them is a different kettle of fish.
However, it seems that a simple shell script would do the trick - just
find each directory and generate a virtual host entry for it.
Will England wrote:
>On Wed, 18 Jul 2001 [EMAIL PROTECTED] wrote:
>
>>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.
>>
>
>If you want to *change* the code in a context, you can do this just by
>adding the new class files under the WEB-INF directory.
>
>If you want to add a *new* context that didn't already exist, you have to
>edit the server.xml file.
>
>One other option is to have the developers jar up the whole application
>and deploy it to TOMCAT_HOME/webapps as a .war file.
>
>Then, no changes are needed to server.xml; tomcat just reads and expands
>the .war file and runs with it. Never did this, not sure how well it
>works.
>
>Will
>
>
>
>