Not clear what you want. Send me the details
Where is your static document ( The directory ) How do want to access it ? ( the URL ) Which version of TOMCAT YOU ARE USING Send me your server.xml Regards Guru -----Original Message----- From: J. Ryan Earl [mailto:[EMAIL PROTECTED] Sent: 18 April 2005 19:16 To: tomcat-user@jakarta.apache.org Subject: Need help exporting contexts not under webapps/ Hello, I'm in the process of bringing an in-house application up under Tomcat. Previously we were using Jetty as the servlet container, but for various reason I'm trying to get said application running with Tomcat 5.5.9 and Java 1.5.0. The problem I'm having is that there are two directories with a large amount of static files (pictures, videos, documents, and other forms of media) that are mounted outside of the webapps/ home. Under Jetty, there is a configuration directive that I can use to export these directories under a URL path. I'm trying to do that in Tomcat, and the documentation has been somewhat confusing. What I've gathered is that this type of configuration should be put under ${CATALINA_HOME}/conf/context.xml however I have been able to do this successfully. I've tried putting the following in context.xml but it gives me errors: <Context path="/DOCS" docBase="/mnt/CMFiles/DOCS" debug="0"> </Context> So my question is, in short, given a directory structure of static files, how do you get Tomcat to serve said static content off of an arbitrary URI? Ideas? Thanks in advance, -ryan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]