views:

871

answers:

1

Is it possible to have multiple folders where I can place applications to be deployed?

How are these defined?

And is it possible to restrict one folder to just be applications for "domain.com" and no other domain.

Thanks

+3  A: 

Take a look at conf/server.xml:

  <Host name="localhost" debug="0" appBase="webapps"
   unpackWARs="true" autoDeploy="true"
   xmlValidation="false" xmlNamespaceAware="false">

You can nest <Host> elements within the <Engine> element and have different ones corresponding to different virtual hosts, different appBase's etc.

Here's the documentation on the <Host> element.

matt b