You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2007/06/22 16:18:02 UTC
RE: Allowing users to deploy their own webapps within their homedirectories
> From: Tim Booth [mailto:tbooth@ceh.ac.uk]
> Subject: Allowing users to deploy their own webapps within
> their homedirectories
>
> Is there any way that tomcat can be setup such that
> ~/tomcat is the appBase dir, so a user can have:
> ~/tomcat/webapp1 ~/tomcat/webapp2 etc without explicitly
> specifying these directories in the config files?
You could set up a virtual <Host> for each user, thereby giving each one
his/her own appBase. This is easily done statically, but adding <Host>
elements on the fly is a bit trickier. The admin app of prior Tomcat
levels could accomplish this, but it has not yet been made available
with Tomcat 6. If you need to create <Host> elements dynamically, you'd
need a bit of code to insert them into the Catalina container while
Tomcat is running.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org