> -----Original Message----- > From: André Warnier (tomcat) <a...@ice-sa.com> > > Hi. > Sorry for top-posting, but maybe a real dev would want to have a look at this. > If you scroll below to the original post, it seems that putting an invalid > value (a bad > regex) in the param-value of the "allow" param, triggers an error message > that is at least confusing : > > >> Exception starting filter [Remote Host Filter] > >> javax.servlet.ServletException: The property [allow] is not defined for > >> filters of type [org.apache.catalina.filters.RemoteHostFilter] > >> at org.apache.catalina.filters.FilterBase.init(FilterBase.java:52) > ... > > That was for : > >> <init-param> > >> <param-name>allow</param-name> > >> <param-value>*\.example\.com</param-value> > >> </init-param> > > The OP cited Tomcat 8.5.16.
FWIW, I'll throw out as well that the particular section of the doc page about that filter doesn't have an example (showing some sample XML for use with the filter), while many others (7 of the 14 filters listed) do. Of course, if one did read about the others they could see examples and perhaps connect dots. I just wonder if, had an example been there, the OP might have more readily seen his mistake. (And as I said in another thread, I don't propose these changes as if to say to someone, "now go do it". I'm saying it as someone who would try to step in and help, if permitted.) /charlie --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org