tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Virtual folders in Tomcat
Date Tue, 29 Nov 2005 11:55:12 GMT
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


Mime
View raw message