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=25008>.
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=25008

Enable symbolic links: Release notes not clear about "allowLinking" flag.

           Summary: Enable symbolic links: Release notes not clear about
                    "allowLinking" flag.
           Product: Tomcat 5
           Version: 5.0.15
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Native:Integration
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The release notes say:

> By default, Unix symlinks will not work when used in a web application
> to link resources located outside the web application root directory.

> This behavior is optional, and the "allowLinking" flag may be used
> to disable the check.

This left me wondering where to set that flag.  I propose the release notes
should be more specific about this.


For others like me: 

Personally, I found some hints on web pages outside the Jakarta side.
Now I have removed the commenting around the ROOT stuff in my
$CATALINA_BASE/conf/server.xml.  The pertinent part of that file now reads:


   <!-- Tomcat Root Context -->
     <Context path="" docBase="ROOT" debug="0">
       <Resources
         className="org.apache.naming.resources.FileDirContext"
         allowLinking="true"
       />
     </Context>

This at least allows me to read the Tomcat documentation in my 
CATALINA_BASE installation, which is a farm of symbolic links to the
CATALINA_HOME directory.


For the record: This bug refers to
http://www.apache.org/dist/jakarta/tomcat-5/v5.0.15-alpha/RELEASE-NOTES
and jakarta-tomcat-5.0.14/RELEASE-NOTES from jakarta-tomcat-5.0.14.tar.gz.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to