> From: Tim Booth [mailto:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to