Re: listing directory content outside tomcat root

2010-02-26 Thread Pid
On 26/02/2010 08:27, Ivan Longhi wrote: hi christopher, On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz wrote: You shouldn't declare elements within conf/server.xml in any currently-supported version of Tomcat. Instead, put everything you need in your webapp's META-INF/context.xml file.

Re: listing directory content outside tomcat root

2010-02-26 Thread Ivan Longhi
hi christopher, On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz wrote: > You shouldn't declare elements within conf/server.xml in any > currently-supported version of Tomcat. Instead, put everything you need > in your webapp's META-INF/context.xml file. Remember that "path" and > "docBase"

Re: listing directory content outside tomcat root

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 2/25/2010 9:14 AM, Ivan Longhi wrote: > this should be the solution (and one more little question at the end of code): > > conf/web.xml > > >default > > org.apache.catalina.servlets.DefaultServlet > >

RE: listing directory content outside tomcat root

2010-02-25 Thread Caldarale, Charles R
> From: Ivan Longhi [mailto:ivan.lon...@gmail.com] > Subject: Re: listing directory content outside tomcat root > > is org.apache.catalina.servlets.DefaultServlet > the right solution? Yes. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

RE: listing directory content outside tomcat root

2010-02-25 Thread Caldarale, Charles R
> From: Tim Funk [mailto:funk...@apache.org] > Subject: Re: listing directory content outside tomcat root > > Since the default servlet is declared in conf/web.xml - its inherited > in *every* webapp. So its config is also inherited. (Bummer) Not a bummer at all - it's a ver

Re: listing directory content outside tomcat root

2010-02-25 Thread Ivan Longhi
ops is useless On Thu, Feb 25, 2010 at 3:14 PM, Ivan Longhi wrote: >       >           >       -- ciao, ivan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...

Re: listing directory content outside tomcat root

2010-02-25 Thread Ivan Longhi
thanks!!! this should be the solution (and one more little question at the end of code): conf/web.xml default org.apache.catalina.servlets.DefaultServlet listings false conf/server.xml .

Re: listing directory content outside tomcat root

2010-02-25 Thread Tim Funk
Enable listings is "sort of"** a global setting. Since the default servlet is declared in conf/web.xml - its inherited in *every* webapp. So its config is also inherited. (Bummer) BUT - if you add a WEB-INF/web.xml to EVERY webapp with the default servlet settings - then you can remove the de