Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 9/25/14 5:36 PM, André Warnier wrote: > Baran Topal wrote: >> Hi; >> >> Thanks for your interest. Yes, I realized context idea once i >> read the documentation.I must admit the hierarchy is weird but >> it's a custom installer of a site t

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread André Warnier
Baran Topal wrote: Hi; Thanks for your interest. Yes, I realized context idea once i read the documentation.I must admit the hierarchy is weird but it's a custom installer of a site that installs on Windows machine. There is no Tomcat manager console in place (at least I didn't see/enable). The

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/25/14 4:15 PM, Baran Topal wrote: > The hierarchy is as this: > > tomcat/webapps/ROOT/WEB-INF and > under WEB-INF, there is jsp folder in which it covers the jsp pages > of admin that i want to filter out for a particular IP. > > I thi

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Baran Topal
Hi; Thanks for your interest. Yes, I realized context idea once i read the documentation.I must admit the hierarchy is weird but it's a custom installer of a site that installs on Windows machine. There is no Tomcat manager console in place (at least I didn't see/enable). The hierarchy is as this

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/24/14 5:04 PM, Baran Topal wrote: > Hi, following works under server.xml > > className="org.apache.catalina.valves.RemoteAddrValve" > deny="127\.0\.0\.1"/> Yes, it will work, but declaring a in server.xml is a Bad Idea. It's bette

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/24/14 12:19 PM, Baran Topal wrote: > I understand that Tomcat 6 has valve and Chris, means of context, I > have the feeling that this context.xml may be relevant but i have > seen in some links, conf/server.xml is the place to manipulate

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Baran Topal
Hi, following works under server.xml But, i need to hide my admin directory containing admin.jsp pages (more than 1 jsp page) My admin directory is in WEB-INF and WEB-INF is in the same level with /index.jsp but simply, not working when i ref. the context as /WEB-INF/admin 24 Eylül 2

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Baran Topal
Hi Andre and Chris; I understand that Tomcat 6 has valve and Chris, means of context, I have the feeling that this context.xml may be relevant but i have seen in some links, conf/server.xml is the place to manipulate. And the thing is that i didn't see any selective setting to filter the IP for p

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread André Warnier
Baran Topal wrote: Hi; Recently joined, first mail I have the following filtering which works fine on Tomcat 7 but not on Tomcat 6... It gives just 404. Remote Address Filter org.apache.catalina.filters.RemoteAddrFilter allow 127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1 Remote Address Filter /a

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/24/14 11:36 AM, Baran Topal wrote: > Recently joined, first mail Welcome to the community. > I have the following filtering which works fine on Tomcat 7 but not > on Tomcat 6... It gives just 404. > > Remote Address Filter > org.apa

ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Baran Topal
Hi; Recently joined, first mail I have the following filtering which works fine on Tomcat 7 but not on Tomcat 6... It gives just 404. Remote Address Filter org.apache.catalina.filters.RemoteAddrFilter allow 127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1 Remote Address Filter /administrator/* How