This is when I wish I was on linux so I could try it, but Chuck will be able
to tell us anyway.
What would happen if the user made a linux sym-link under the tomcat ROOT
folder to
/home/mydir1/mydir/ as mydir.... would that work?
----- Original Message -----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, June 11, 2007 4:12 PM
Subject: RE: making a directory we accesible
From: Murtuza [mailto:[EMAIL PROTECTED]
Subject: making a directory we accesible
so suppose all my files are in
/home/mydir1/mydir/test.txt,
I should be able to access them as
localhost:8080/mydir/test.txt.
Create a file named $TOMCAT_HOME/conf/Catalina/localhost/mydir.xml and
put just the following in it:
<Context docBase="/home/mydir1/mydir" />
Should be all you need, assuming whatever userid Tomcat is running under
has access to that directory.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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]