SymLinks
Developers,
I am running Tomcat 5 on a Unix machine. I have a file (say abc.xml) which is in fact an alias / symlink to an actual file system inside the webapp.
When i try to download view the (abc.xml) the symlink is not followed and the file is not found.
I found the following on the mailing list which seems to deal with symlinks of Jar files - but not files:
<code>
<Context path="/MaeQueryPrototype3"
> docBase="/home/mauro/workspace/MaeQueryPrototype3/web"
> workDir="/home/mauro/workspace/MaeQueryPrototype3/work"
> >
> <Resources
> className="org.apache.naming.resources.FileDirCont ext"
> allowLinking="true"
> docBase="/home/mauro/workspace/MaeQueryPrototype3/web" />
> </Context>
</code>
Please help if you have any ideas.
|