Hi, I've been developing an application with this structure of directories
mydir/html/ mydir/html/WEB-INF mydir/html/WEB-INF/classes mydir/html/WEB-INF/lib mydir/html/WEB-INF/web.xml At server.xml I've included this host: <Host name="myhost.es" appBase="/myhost/html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" reloadable="true" docBase="/myhost/html"/> </Host> And everything works fine. The problem comes now that I want to put my application in another machine and I want to do it with a war file. What I've done es to take the directory mydir/html and create the html.war. Then I changed the host by this one: <Host name="myhost.es" appBase="/myhost" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" reloadable="true" docBase="/myhost/html"/> </Host> But now, when I start tomcat, it creates the directories mydir/html and mydir/ROOT. The application seems to work indeed but, how can I avoid the system create de ROOT directory? Probably I'm not doing this in the correct way. I want to access my application at the URL myhost.es and not at myhost.es/html. Thanks -- View this message in context: http://www.nabble.com/How-to-create-a-virtual-host-with-war-file-without-beeing-created-a-ROOT-dir--tp23504283p23504283.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org