Hi there, It worked :-)
/conf/server.xml: ... <Engine defaultHost="localhost" name="Catalina"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/> <Host appBase="webapps" name="localhost"/> <Host appBase="webapps/myName" name="myName.server.com"/> </Engine> ... And within /conf/Catalina/myName.server.com/ROOT.xml <Context path="" docBase="/path/to/some.war" debug="0"> <Resource ... /> <Manager ... /> </Context> Thanks again & best regards Detlev >>> I have a WAR which normally should be deployed via myName.xml into >>> /tomcat/conf/Catalina/localhost, with docBase="AbsolutePathToWar". >>> >>> Within that xml snippet, <Context path="/myName" >>> docBase="/webs/web123/tomcat/application.war" debug="0"> is used. >>> >>> So I can call "www.server.com/myName" and it works. >>> >>> Now I want to call "myName.server.com" instead. >> >> This would mean that your webapp becomes the ROOT application of a >> virtual host. > > Exactly. > >> As you didn't specify which version of Tomcat, I'm going to assume 5.x. > > Exactly, to be even more exact: 5.5.12 > >> Place the context here: >> >> %TOMCAT/conf/Catalina/myName.server.com/ROOT.xml >> >> ... not in server.xml. > > Ahhh, that sounds as if would make sense... :-) > > But the HOST entry for the virtual host would have to be in server.xml > (with no context defined), right?! Correct me if I'm wrong... --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]