Detlev Beutner wrote:
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...
Correct.
<Host...> stays in server.xml, context xml is external.
(only reply to list pls, not me too)
I will give it a try this evening...
Thanks for your support
Detlev
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]