this doesn't work . My webapp is , for example, called foo.war and deployed in $CATALINA_BASE/webapps and I would like $CATALINA_BASE/webapps/foo/bar to be a sym link to /home/foo/bar.
What then exactly should be in server.xml ?
Thanks in advance,
SaM
Brandon M. Blank wrote:
Oops.. small typo in my last post:
Don't forget to add the closing "/" in the Resources directive.
Eg:
<Resources allowLinking="true">
should be
<Resources allowLinking="true"/>
-----Original Message-----
From: Brandon M. Blank [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 9:48 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Pb with symbolic link
Sure,
In your server.xml configuration, your context is defined by default as follows:
<Context path="" docBase="ROOT" debug="0"/>
To allow the use of symlinks, use this:
<Context path="" docBase="ROOT" debug="0"> <Resources allowLinking="true"> </Context>
Obviously change parameters as necessary for your deployment.
BB
-----Original Message-----
From: Thomas Hehl [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 9:42 AM
To: Tomcat Users List
Subject: RE: Pb with symbolic link
Could you put your context remark in context (:) for us newbies? Will this go in the web.xml file? Under which tags?
Please forgive my ignorance;)
--- "Brandon M. Blank" <[EMAIL PROTECTED]> wrote:
In your context definition, add the following:access
<Resources allowLinking="true"/>
Good Luck!
-----Original Message-----
From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 8:30 AM
To: Tomcat Users List
Subject: Pb with symbolic link
Hi everyone,
I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27. I had a symbolic link in a webapp context referencing some place outside this context, and had no probleme with tomcat 4.0 to access the files under the referenced folder. I upgraded my tomcat, every thing works fine except I can no longer access the files of the referenced directory ! Has anyone encontered the same problem ? Is there any solution to
those files ?
Thanks,
SaM
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
