You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/14 10:48:55 UTC
DO NOT REPLY [Bug 25510] New: -
Sym links don't work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25510>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25510
Sym links don't work
Summary: Sym links don't work
Product: Tomcat 5
Version: 5.0.16
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: montesa@unizar.es
I have created a UNIX symlink in "docBase" directory:
$ cd myApp
$ ln -s servicios/sicuz sicuz
$ ls -l
lrwxrwxrwx ... sicuz -> servicios/sicuz
I have defined a context in "server.xml" like this:
<Context path="" docBase="myApp" debug="0">
<Resources className="org.apache.naming.resources.FileDirContext"
allowLinking="true" />
</Context>
The requested resource (/servicios/sicuz/index.html) is available -> It's OK
The requested resource (/sicuz/index.html) is not available. -> Why?
It's work fine in Tomcat 4.1.29 :-(
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org