> -----Original Message----- > From: N.s.Karthik [mailto:nskarthi...@gmail.com] > Subject: org.apache.catalina.valves.RemoteHostValve does this work ??? > > Hi > > Spec > JDK1.6 > TC : tomcat 6.26 > O/s win 7 /Linux (redhat) > > I have configured the valve as follows in TC /conf/Context.xml > > *<Valve className="org.apache.catalina.valves.RemoteHostValve" > allow="ai-itl-107" > deny="192.168.8.210" />* > > On restart of the TC ... I am denied access at URL > > *http://ai-itl-107:8080/* > > as HTTP 403 Error ??? > > Disabling this valve the URL works and application is available > normally. > > I am confused > > > with regards > karthik
The docs indicate that you need to use a regular expression pattern for the allow and deny attributes. http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_Host_Filter allow="ai\-itl\-107" deny="192\.168\.8\.210" Does that work? Leo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org