how do I set up a default context for a virtual host

2006-06-21 Thread teknokrat
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

Re: how do I set up a default context for a virtual host

2006-06-21 Thread Pid
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.

Re: how do I set up a default context for a virtual host

2006-06-21 Thread Pid
If you put wiki.war into c:/wiki it will deploy and create c:/wiki/wiki/contents of war then the app will (if it's working) be available at: http://server:port/wiki/ teknokrat wrote: Yeah, I have. If you have a look at the bottom I have a ROOT.xml with Read it again. context path= docBase=