Reputation: 1
In My application's context.xml inside meta-inf,
I have created aliases as shown below.
<Context aliases="/a=/d/e/a"/>
the path /d/e/a
is a shared mount path which is outside of the web application.
Now the problem is when i try to access a below content
/d/e/a/h/zzz.pdf
, am getting 404 error. the reason is h is a symbolic link in the mount which points to the another path say /i/j/k
in the mount.
So how to access the folders having symbolic links inside the tomcat aliases?
Upvotes: 0
Views: 3179
Reputation: 11
See: Configure Symlinks for single directory in Tomcat
http://isocra.com/2008/01/following-symbolic-links-in-tomcat/
Upvotes: 1