Bill,

I have seen that element documented on the mailing list as:

   <Resources className="org.apache.naming.resources.FileDirContext"
              allowLinking="true"
              docBase="" />

I haven't looked at the code, but the presence of a docBase attribute makes
me wonder if the intent is that in the future I can specify which resources
allow symlinks.  For example, I'd prefer not to globally enable symlinks,
but say that you may symlink into a particular path containing shared
resources, e.g.,

   <Resources className="org.apache.naming.resources.FileDirContext"
              allowLinking="true"
              docBase="<path-to-shared-resources>" />

That would provide more granular control.  Is that planned?

        --- Noel

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Barker
Sent: Saturday, December 14, 2002 1:58
To: [EMAIL PROTECTED]
Subject: Re: Where to set the allowLinking flag in 4.1.12?


Under the <Context> element, include:
  <Resources className="org.apache.naming.resources.FileDirContext"
              allowLinking="true" caseSensitive="false" />

"Roland Glenn McIntosh" <[EMAIL PROTECTED]> wrote in message
5.1.0.14.2.20020924152120.0633e8d8@lnxmain">news:5.1.0.14.2.20020924152120.0633e8d8@lnxmain...
> I'm please that 4.1.12 has the ability to follow symlinks, I just don't
> know where to set this flag. I grepped for "allowLinking" in my conf
> directory and found no commented examples of where this might go.
>
> Please advise.
>
> -rgm


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

Reply via email to