I'm attempting to reply to a post by Mark Thomas posted on Mon, 21 Jan 2013
20:15:58 GMT at (
http://mail-archives.apache.org/mod_mbox/tomcat-users/201301.mbox/%3c50fda1fe....@apache.org%3E)
but I'm not sure if this is the way to do it.  I'm not too keen on the
whole mailing list translations to threads...

Anyway I wanted to contribute a potential solution to the question of "How
can I configure Tomcat such that the only application to automatically be
deployed/started is the application manager".

It seems like the `deployIgnore` Host option can be used to exclude
everything but the `manager` webapp.  See the docs at (
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Common_Attributes)

Example:
<Host name="localhost" appBase="webapps" deployOnStartup="true"
autoDeploy="true" deployIgnore="^(?!manager$).*$">

...

</Host>

Reply via email to