Ok so the context path is what I was missing. I am try to setup
something similar to virtual hosts in apache. Can I do something like
this then?
<Host name="www.domain1.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="c:/www/domain1" />
<Alias>domain1.com</Alias>
</Host>
<Host name="www.domain2.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="c:/www/domain2" />
<Alias>domain2.com</Alias>
</Host>
Or should the war files always fall under webapps and if so does the
context docbase the full path to the folder?
<Host name="www.domain1.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="c:/tomcat/webapps/domain1" />
<Alias>domain1.com</Alias>
</Host>
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---