Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 37149 invoked from network); 11 Feb 2008 19:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 19:16:42 -0000 Received: (qmail 92244 invoked by uid 500); 11 Feb 2008 19:16:35 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 91676 invoked by uid 500); 11 Feb 2008 19:16:34 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 91665 invoked by uid 99); 11 Feb 2008 19:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 11:16:34 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of c1vamsi1c@gmail.com designates 72.14.246.249 as permitted sender) Received: from [72.14.246.249] (HELO ag-out-0708.google.com) (72.14.246.249) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 19:16:01 +0000 Received: by ag-out-0708.google.com with SMTP id 5so84497agb.7 for ; Mon, 11 Feb 2008 11:16:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=shP8d9G5YS+MmJxqa5oJyc7MzViY4Al36LC+LZg0pSg=; b=W6/mlBYU4O73tEAiPHiOl9m22okwm3cjJu7dF8l/tQXHZQa2qjU2ShhijK0jqBlRwiQamSCDkGtffBD/iFLvwoulBULit4Wpu3QRJhNrUkUR/rEahHZnoxrLXBK4G40iwajhZY5ed1ks4/23gEeSKEK6hYaJEtiKHYRCGhNLbpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ln8IF5bfru9ndnEFisUd35yLRKH+StBplxCUOxolgKCFQWBHcw76z7ZTWCinuWopHyuU4MP5sJF2u4y0IOJlo9+p57/CKUDn4zVBVXpyAtxiUu2fZv/Wm8W/l/a6Orr3Ps9IL21goCMvUQ6bIElmdwOIsIsEmvhN4j/pboKIqpU= Received: by 10.143.8.10 with SMTP id l10mr289414wfi.181.1202757366956; Mon, 11 Feb 2008 11:16:06 -0800 (PST) Received: by 10.142.213.12 with HTTP; Mon, 11 Feb 2008 11:16:06 -0800 (PST) Message-ID: <22d56c4d0802111116p163e6fa2x2c88926d5e78e91e@mail.gmail.com> Date: Tue, 12 Feb 2008 00:46:06 +0530 From: "Vamsavardhana Reddy" To: user@geronimo.apache.org Subject: Re: Geronimo Follow Symbolic Links In-Reply-To: <22d56c4d0802070944l2dd46f34xad9055e3ab23e2ad@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4967_8791619.1202757366957" References: <14694340.post@talk.nabble.com> <31FA17C4-C508-4834-A8E2-A9B37F897CDE@yahoo.com> <14697588.post@talk.nabble.com> <22d56c4d0802070944l2dd46f34xad9055e3ab23e2ad@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4967_8791619.1202757366957 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Crated a JIRA https://issues.apache.org/jira/browse/GERONIMO-3837 On Feb 7, 2008 11:14 PM, Vamsavardhana Reddy wrote: > Does modify the attribute to all > applications deployed in tomcat or is it per application? In Geronimo, if > we want to control it per application, we will need a new tomcat specific > element in geronimo-web.xml (which means a schema change, and I prefer to > do it before 2.1 goes out, provided RM approves). If it is ok to have one > setting across all apps, we can take the easy route of using a system > property (argh... I seem to have developed an affinity to system > properties). > > Please go ahead and create a JIRA so that we can get this done sooner or > later. > > ++Vamsi > > > On Jan 9, 2008 1:32 AM, Adam Ruggles wrote: > > > > > The affect of allowLinking is to allow the servlet to serve up paths > > that are > > associated with a symbolic link. > > > > An example would be if I had a images folder in the root of my web app. > > The > > images folder is really a symbolic link pointing to another folder on my > > hard drive. With the allow Linking enabled I could still through a web > > browser see the images in the images folder. > > > > I hope I explained that correctly. Apache Httpd also has a property in > > it's > > configuration to do that. > > > > > > djencks wrote: > > > > > > > > > On Jan 8, 2008, at 9:33 AM, Adam Ruggles wrote: > > > > > >> > > >> I'm using Geronimo 2.2 with tomcat. I'm trying to get Geronimo to > > >> follow > > >> symbolic links. I have a folder outside the webapp that I use a > > >> symlink to > > >> allow the user to browse that folder. In tomcat I was able to edit > > >> the > > >> server.xml file with . How can > > I > > >> accomplish this in Geronimo. > > > > > > I wouldn't call myself a tomcat expert, but I don't know of any way > > > to do this in geronimo. I expect it would be easy to add, so you > > > could add a Jira issue asking for it. I expect we'd need a new > > > tomcat specific element in geronimo-web.xml, although since I'm not > > > familiar with the exact meaning or effect of the property I could be > > > wrong. > > > > > > thanks > > > david jencks > > > > > >> > > >> Thanks, > > >> Adam > > >> -- > > >> View this message in context: http://www.nabble.com/Geronimo-Follow- > > >> Symbolic-Links-tp14694340s134p14694340.html > > >> Sent from the Apache Geronimo - Users mailing list archive at > > >> Nabble.com. > > >> > > > > > > > > > > > > > -- > > View this message in context: > > http://www.nabble.com/Geronimo-Follow-Symbolic-Links-tp14694340s134p14697588.html > > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com > > . > > > > > ------=_Part_4967_8791619.1202757366957 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Crated a JIRA https://issues.apache.org/jira/browse/GERONIMO-3837



On Feb 7, 2008 11:14 PM, Vamsavardhana Reddy <c1vamsi1c@gmail.com> wrote:
Does <DefaultContext allowLinking="true"/> modify the attribute to all applications deployed in tomcat or is it per application?  In Geronimo, if we want to control it per application, we will need a new tomcat specific element in geronimo-web.xml (which means a schema change, and I prefer to do it before 2.1 goes out, provided RM approves).  If it is ok to have one setting across all apps, we can take the easy route of using a system property (argh...  I seem to have developed an affinity to system properties).

Please go ahead and create a JIRA so that we can get this done sooner or later.

++Vamsi


On Jan 9, 2008 1:32 AM, Adam Ruggles <a.ruggles@gmail.com> wrote:

The affect of allowLinking is to allow the servlet to serve up paths that are
associated with a symbolic link.

An example would be if I had a images folder in the root of my web app.  The
images folder is really a symbolic link pointing to another folder on my
hard drive.  With the allow Linking enabled I could still through a web
browser see the images in the images folder.

I hope I explained that correctly.  Apache Httpd also has a property in it's
configuration to do that.


djencks wrote:
>
>
> On Jan 8, 2008, at 9:33 AM, Adam Ruggles wrote:
>
>>
>> I'm using Geronimo 2.2 with tomcat.  I'm trying to get Geronimo to
>> follow
>> symbolic links.  I have a folder outside the webapp that I use a
>> symlink to
>> allow the user to browse that folder.  In tomcat I was able to edit
>> the
>> server.xml file with <DefaultContext allowLinking="true"/>.  How can I
>> accomplish this in Geronimo.
>
> I wouldn't call myself a tomcat expert, but I don't know of any way
> to do this in geronimo.  I expect it would be easy to add, so you
> could add a Jira issue asking for it.  I expect we'd need a new
> tomcat specific element in geronimo-web.xml, although since I'm not
> familiar with the exact meaning or effect of the property I could be
> wrong.
>
> thanks
> david jencks
>
>>
>> Thanks,
>> Adam
>> --
>> View this message in context: http://www.nabble.com/Geronimo-Follow-
>> Symbolic-Links-tp14694340s134p14694340.html
>> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>>
>
>
>

--
View this message in context: http://www.nabble.com/Geronimo-Follow-Symbolic-Links-tp14694340s134p14697588.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



------=_Part_4967_8791619.1202757366957--