Yeah, I have. If you have a look at the bottom I have a ROOT.xml with

<context path="" docBase="" />


I have tried using just <context /> with no success



Pid wrote:
Read the docs:

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

Context path attribute: "The value of this field must not be set except
when statically defining a Context in server.xml, as it will be infered
from the filenames used for either the .xml context file or the docBase."





teknokrat wrote:
I trying to setup virtual hosts on tomcat 5.5. and windows.

I have added the following to server.xml

<Host name="wiki.net" appBase="c:/wiki">
      <Logger className="org.apache.catalina.logger.FileLogger"
        directory="logs"  prefix="wiki_log." suffix=".log"
timestamp="true"/>
</Host>

I have added context.xml to conf/Catalina/wiki.net containing

<context path="/wiki" />

Then I have added wiki.war to C:\wiki and restarted tomcat.

Going to http://wiki.net produces nothing, http:/wiki.net/wiki produces
resource not available.

I have tried changing the application name to ROOT.war and the
context.xml file to ROOT.xml containing

<context path="" docBase="" />

But this still produces nothing.

How can I set up tomcat so that going to http://wiki.net runs my wiki.war?


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




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




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