Re: IP based request filters for admin/manager

2010-07-19 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan, On 7/18/2010 11:48 PM, Johan Martinez wrote: Started afresh and got it working finally. I tried with and without escape character and both worked. Probably because . matches '.'. Yep. :-) Johan, if you are s

Re: IP based request filters for admin/manager

2010-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan, On 7/18/2010 11:48 PM, Johan Martinez wrote: > Started afresh and got it working finally. > > I tried with and without escape character and both worked. Probably because . matches '.'. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v

Re: IP based request filters for admin/manager

2010-07-18 Thread Johan Martinez
Started afresh and got it working finally. I tried with and without escape character and both worked. Thanks, jM. On Sun, Jul 18, 2010 at 1:09 PM, Konstantin Kolinko wrote: > 2010/7/18 Shantanu Pavgi : > > > > I don't have a solution, but just wanted to comment that examples in the > doc are

Re: IP based request filters for admin/manager

2010-07-18 Thread Konstantin Kolinko
2010/7/18 Shantanu Pavgi : > > I don't have a solution, but just wanted to comment that examples in the doc > are correct. > See API doc: > http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/valves/RequestFilterValve.html#allow > The 'allow' field uses String expression

RE: IP based request filters for admin/manager

2010-07-18 Thread Shantanu Pavgi
ough. -- Shantanu Pavgi. From: Konstantin Kolinko [knst.koli...@gmail.com] Sent: Sunday, July 18, 2010 11:16 AM To: Tomcat Users List Subject: Re: IP based request filters for admin/manager 2010/7/18 Johan Martinez : > I was wondering how to config

Re: IP based request filters for admin/manager

2010-07-18 Thread Konstantin Kolinko
2010/7/18 Johan Martinez : > I was wondering how to configure Request Filters to allow access to admin, > manager, status-report, etc... I followed tomcat doc: > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Request_Filters > and I was able to restrict access by specifying webapp name

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
ve guessed out I am a newbie and this is turning out to be > really interesting and educational. :) > > -- > jM. > > On Sun, Jul 18, 2010 at 12:31 AM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >> >> > From: Johan Martinez [mailto

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
gt; From: Johan Martinez [mailto:jmart...@gmail.com] > > Subject: Re: IP based request filters for admin/manager > > > > I don't want to replace the default ROOT webapp, in other > > words, I don't want my specific webapp to be ROOT app. > > A little odd, but if t

RE: IP based request filters for admin/manager

2010-07-17 Thread Caldarale, Charles R
> From: Johan Martinez [mailto:jmart...@gmail.com] > Subject: Re: IP based request filters for admin/manager > > I don't want to replace the default ROOT webapp, in other > words, I don't want my specific webapp to be ROOT app. A little odd, but if that's your ch

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
ostname/manager/html works. I am not following how second link is working? Am I missing anything? Thanks, jM. On Sat, Jul 17, 2010 at 11:30 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Johan Martinez [mailto:jmart...@gmail.com] > > Subject: IP b

RE: IP based request filters for admin/manager

2010-07-17 Thread Caldarale, Charles R
> From: Johan Martinez [mailto:jmart...@gmail.com] > Subject: IP based request filters for admin/manager > > How can I deny access to default welcome/index page, > changelog, release-notes etc.? If you're deploying Tomcat in any kind of environment that requires securin

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
The first line should have been: I was wondering how to configure Request Filters to s/allow/RESTRICT/ access to admin, manager, status-report, etc.. :) jM. On Sat, Jul 17, 2010 at 11:19 PM, Johan Martinez wrote: > I was wondering how to configure Request Filters to allow access to admin, > ma

IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
I was wondering how to configure Request Filters to allow access to admin, manager, status-report, etc... I followed tomcat doc: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Request_Filters and I was able to restrict access by specifying webapp names, e.g.: [[[