-----Ursprüngliche Nachricht-----
Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Gesendet: Donnerstag, 7. Mai 2009 15:54
An: Tomcat Users List
Betreff: RE: Multiple Context and Websites

> From: Alexander Diedler [mailto:adied...@tecracer.de]
> Subject: AW: Multiple Context and Websites
> 
> AD : But we want to use different Hostnames, it cannot be placed in the
> localhost?

Just using different host names is a DNS issue; it does not require multiple
<Host> elements in Tomcat.  You only need multiple <Host>s if you want
separate sets of webapps for each domain.

> AD: Some Websites (Applications) should be hosted on this Tomcat e.g.
> applicationA.domain.de, applicationB.domain.de and every Website has it
> own directory on HDD. But it is not inside the Tomcat Folders.

You still seem to be confusing webapps with domains.  You can have multiple
webapps for one domain, a single default webapp for each domain, or multiple
webapps for each domain; all combinations are possible.  What do you want?

Can you provide a set of example URLs and the webapps you expect those URLs
to reference?  If you want a single default webapp for each domain, you'll
need one <Host> element for each, with a separate appBase setting for each.
Inside each appBase directory should be a ROOT subdirectory (or ROOT.war
file) containing the webapp for that domain.  The <Context> element for each
should be in ROOT/META-INF/context.xml.

You will also need to deploy a separate copy of the manager app for each
<Host>.

Yes, that it is what we want, to have one domain for one webapps. But also
we want to have the possibility to start every webapp himself with the
Tomcat Manager without to restart the other contexts (webapps). It is now
more clearly?

You definitely should read the link Hassan provided.

 - 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to