[
https://issues.jboss.org/browse/AS7-3414?page=com.atlassian.jira.plugin.s...
]
Jean-Frederic Clere commented on AS7-3414:
------------------------------------------
if you look for setAllowLinking() in StandardContext.java and FileDirContext.java, the
first try is to set the default value using a system property, that should be enough.
Symbolic links inside deployed ear/war are not followed by web
server
---------------------------------------------------------------------
Key: AS7-3414
URL:
https://issues.jboss.org/browse/AS7-3414
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.2.0.Alpha1
Environment: Fedora 16
Reporter: Ronen Angluster
Assignee: Navin Surtani
Fix For: No Release
when creating a symbolic link inside a deployed ear/war the symbolic link's target is
not followed when
accessing it from a web browser
i.e.
in jboss-as/standalone/deplyoment/somedomain.ear/files we created a symbolic link named
"version.js"
which points to /usr/share/something/version.js
the target file (/usr/share/...) is accessible by all (chmod'd to 777) and is
readable by the jboss-as user which runs
the Jboss application server.
when accessing
http://domain:8080/something/files/version.js we get an 404 error, seems
like the file is not found by
the server.
when placing the file instead of symbolic link, the file is accessible and all is well
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira