Peter Neu wrote: > I'm trying to define an ip access filter with RemoteAddrValve in the > context.xml file I deploy with my war file. > > If I read the documentation right the only thing to be done is write the > following into the context.xml file: > > <?xml version="1.0" encoding="UTF-8"?> > <Context path="/user/public/"> > <Valve className="org.apache.catalina.valves.RemoteAddrValve" > allow="192.168.200.188" > /> > </Context> > > But this does not work out. Does anyone know what's wrong?
As the docs state, you need to use a regular expression. "192.168.200.188" doesn't do what you think it does since "." is a special character in regular expressions. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]