Yep, those look right to me, with the exception of maybe the / at the end of the docbase value:
So this: <Context path="" docBase="c:/www/domain1/" /> instead of this: <Context path="" docBase="c:/www/domain1" /> I'm fairly sure I ran into issues when I didn't include the trailing slash. > Or should the war files always fall under webapps and if so does the > context docbase the full path to the folder? This is a matter of personal preference IMO. I believe they will work wherever you place them, but how you organize them is up to you. HTH! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Dan Vega wrote: > 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 !! -~----------~----~----~----~------~----~------~--~---
