tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Virtual folders in Tomcat
Date Tue, 29 Nov 2005 13:41:26 GMT
Good Morning Roland 

in your server.xml

<Context path="/RolandApp" docBase="webapps/RolandApp" debug="0" reloadable="true"
</Context>

would map "RolandApp" to your virtual folder  accessed by
http://localhost:8080/RolandApp

HTH
Martin-

----- Original Message ----- 
From: "Roland Rabben" <roland.rabben@no.scala.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, November 29, 2005 7:36 AM
Subject: SV: Virtual folders in Tomcat



Can you please give me an example of how this xml file would look?

Roland
 
> Create a new Context declaration (in a new xml file under the webapps
> folder
> of your tomcat installation) that points you there.
> 
> -Tim
> 
> Roland Rabben wrote:
> 
> > Hi,
> > I want to map a "virtual" folder to my Web application. How can I
set up
> > my system so I can have a "data" folder on a different disk than the
web
> > application folder under Tomcat.
> >
> > Let's say I install Tomcat and My Web App under
> > c:\tomcat\webapps\my_web_app\
> > This would translate to http://myserver.com/my_web_app/
> >
> > Let's say my "data" folder is on d:\data\
> >
> > How can I create a mapping that translates to:
> > http://myserver.com/my_web_app/data/
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Mime
View raw message