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

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

Re: IP based request filters for admin/manager

2010-07-18 Thread 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 choice... There are multiple webapps and all are being

Re: IP based request filters for admin/manager

2010-07-18 Thread Johan Martinez
: 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 choice... There are multiple

Re: IP based request filters for admin/manager

2010-07-18 Thread Konstantin Kolinko
2010/7/18 Johan Martinez jmart...@gmail.com: 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

RE: IP based request filters for admin/manager

2010-07-18 Thread 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 jmart...@gmail.com: I was wondering how to configure Request

Re: IP based request filters for admin/manager

2010-07-18 Thread Konstantin Kolinko
2010/7/18 Shantanu Pavgi pa...@uab.edu: 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

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 knst.koli...@gmail.comwrote: 2010/7/18 Shantanu Pavgi pa...@uab.edu: I don't have a solution, but just wanted to comment

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.: [[[ Context

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 jmart...@gmail.com wrote: I was wondering how to configure Request Filters to allow

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 securing access to various components

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
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 based request filters for admin/manager How

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 choice... But I would like