You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Greg Speechley <gr...@learnedsolutions.com> on 2003/04/04 05:32:21 UTC

Re: Virtual host and context

I have set up a virtual host so that when you browse http://virtual.host.com
it goes to index.html in test dir by putting host info in server.xml and a
context.xml in WEB-INF/META-INF.

However this only works when I create the war and drop it into webapps and
tomcat unpacks it. What I would like is to be able to just do ant install
during testing. This isn't working I think because path="" is already
defined in server.xml for localhost so I can't define it again in
context.xml. Is there any workaround for this so I don't have to use the war
method during development?

Would using ant deploy and undeploy fix the problem? If so, can someone send
me these bits from their build.xml because the build.xml file I got(example
from the documentation) doesn't have these :(

Cheers
Greg


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org