As for the transcription error? it is just that, I fat fingered some keystrokes and it sent it in the middle of an edit. I was going to take out the second abc and edit it to say xyz and have the 2nd <Host> reflect that.
Not sure if I follow how you can have more than one webapp for any given <Host>. Would you just have multiple <appBase> params, or would you have just more than one <Host> with the same alias's and info except different appBases? Or am I off base? Here is a question for you. In a nut shell, I wrote software to be installed on a standalone PC or on a network server. I am modifying the server (and adding an admin panel to the software) to run for multiple companies (now on a web server at a .com). I figured that the easiest way to keep everything straight and neat would be to bind each instance of the software to a sub-domain. Each sub-domain will have it's own schema, file storage, and instance of the software that is bound to it. So I have created the $CATALINA_HOME/[sub-domain]/ROOT directories and added the host. Am I going about this the right way? On Tue, Jun 16, 2009 at 10:00 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > Not sure I'm following you. Each webapp (you can have many for any given > <Host>) should be in a directory or .war file directly under the <Host>'s > appBase directory. ROOT is simply a special name for the default webapp for > the <Host>. > > <Engine name="Catalina" defaultHost="localhost"> > > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > > resourceName="UserDatabase"/> > > <Host name="localhost" appBase="webapps" > > unpackWARs="true" autoDeploy="true" > > xmlValidation="false" xmlNamespaceAware="false" /> > > <Host name="abc" appBase="abcapps"> > > <Alias>abc.test.com</Alias> > > <Host name="abc" appBase="abcapps"> > > <Alias>abc.test.com</Alias> > > </Host> > > </Engine> > > I hope the above is a transcription error, since you have an extra, > unclosed <Host> element. > > - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >