You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Barker <wb...@wilshire.com> on 2002/12/14 07:57:38 UTC
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" <ro...@steeltorch.com> wrote in message
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Where to set the allowLinking flag in 4.1.12?
Posted by "Noel J. Bergman" <no...@devtech.com>.
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:news@main.gmane.org]On Behalf Of Bill Barker
Sent: Saturday, December 14, 2002 1:58
To: tomcat-user@jakarta.apache.org
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" <ro...@steeltorch.com> wrote in message
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>