tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Tomcat 5.5 - Virtualhost - context configuration for the zero path
Date Sun, 18 Nov 2007 15:43:12 GMT
Schadler Johann wrote:
> I would prefer to use an explicit method to define a context, not only the
> implicit possibility by naming the WAR file to something which doesn't refer
> anyway to the service provided in the physical directory "ROOT". Is there a
> possibility to do this in may way?

Place your directory outside of a host's appBase. Place ROOT.xml in
<CATALINA_BASE>/conf/<EngineName>/<HostName> and then the docBase attribute
of the Context element inside ROOT.xml will be honoured. You should not
specify a path as this is inferred from the name of the xml file.

Mark



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