tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Björkman <peter.bjork...@josh.se>
Subject Several hosts with default contexts...
Date Wed, 08 Nov 2006 12:34:54 GMT

Hi! This might be a stupid question, but I can't find the answer anywhere.

I will run multiple hosts (Tomcat 5.0) and they should each have different default web applications.
I could define the contexts in server.xml, but this is not recommended according to the documentation.
The way we usually do it is to place our context.xml in teh META-INF directory, but then how
could the correct host handle the context? 

Is the solution to manually insert the context.xml file into:

conf/[Engine]/[hostname]/context.xml
that is,
conf/Catalina/www.mydomain.com/context.xml

Or is there some other way of doing it?

Regards
Peter

PETER BJÖRKMAN - SYSTEM ARCHITECT
josh / together is better / www.josh.se
sveavagen 59 / 113 59 stockholm / sweden
phone +46 (0)8 650 21 07 / mobile +46 (0)709 687 887
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

---------------------------------------------------------------------
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


Mime
View raw message