You need to set up multiple host entries in the conf.

ie

 <Host name="www.mysite.com" debug="0" appBase="webapps/mysite"
        unpackWARs="true" autoDeploy="true" >
        <Logger className="org.apache.catalina.logger.FileLogger"
        directory="logs"  prefix="virtual_log." suffix=".txt"
timestamp="true"/>
        <Context path="" docBase="." debug="0" reloadable="true"/>
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="virtual_log." suffix=".txt"
                 pattern="common"/>


-----Original Message-----
From: Narahari 'n' Savitha [mailto:[EMAIL PROTECTED]
Sent: 08 November 2005 17:23
To: users@tomcat.apache.org
Subject: ROOT webapp question confused with hosts


Friends,

I am unable to decipher this.

I am on windows xp running tomcat as my webserver/jsp engine 5.5.09

I have http://savithari.dyndns.org/vruksha that works correctly.

but

http://savithari.dyndns.org always brings up the default page of tomcat.

I know that I can rename the ROOT folder to be able accomplish a direct hit
to http://savithari.dyndns.org to bring up the page I want.

BUT THAT IS NOT WHAT I WANT.

I want to be able to keep my webpage contents under M:\VRUKSHA which
contains the entire webpage.

I still want the configurate of tomcat to point the ROOT to this folder
M:\VRUKSHA so that I can update the correct folder.

Is this too much to ask ?

If not that atleast tell me an alternate way to much with the ROOT so that
RENAMING MY APPLICATION TO ROOT is not the only solution.

Thank your for your time and help.
-Narahari


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to