Hi Pid,

> > 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...

I will give it a try this evening...

Thanks for your support
Detlev
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to