Does anyone know how to configure jBoss to be able to access those documents from the given directory, independent of the web-application context? Alternatively, make them available from within a web-application without moving the documents?
best regards, pj
Per Jorgen Walstrom
Joined: Apr 28, 2005
to answer my own question: this is possible by using the allowLinking-attribute of Tomcat. Add the following to server.xml in the Tomcat sar-directory.
< DefaultContext allowLinking="true" / >
Then it will be possible to add symbolic links to anywhere you like
"NOTE: This flag MUST NOT be set to true on the Windows platform (or any other OS which does not have a case sensitive filesystem), as it will disable case sensitivity checks, allowing JSP source code disclosure, among other security problems."
hope this helps, pj
subject: configure JBoss to use static document hierarchy