I am using tomcat 6 and it doesn't have this directory structure, thanks for the reply.
Caldarale, Charles R wrote: > >> 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] > > > -- View this message in context: http://www.nabble.com/making-a-directory-we-accesible-tf3901739.html#a11061494 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]