I couldn't really say. I force my developers to keep everything in their Contexts, so the issue doesn't come up for me.
John
Erez Efrati wrote:
Well I did find a way to do that by declaring another context just for that with docBase='c:\www\files' for example. Thing is, all this is not really working under the Tomcat bundled in JBoss.
One option of solving this is having a servlet (Struts Action for
example) which will serve the files.
The other way is using the 'alias' directive under Apache directing to
wherever I'd like in the file system. For that I need to put Apache in
front of JBoss/Tomcat.
Which is better?
Thanks, Erez
-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 1:57 PM
To: Tomcat Users List
Subject: Re: directory outside context root
If on UNIX or Linux, you could use symbolic links, but this is not recommended for security and portability reasons.
So, in general, the answer is "no".
John
Erez Efrati wrote:
Is there some way to tell tomcat to serve files from a specific directory outside the context root?
Thanks in advance, Erez
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
