The documentation contains examples for the proper syntax for a request filter but the syntax is wrong. The doco says the filter uses the regex library but the example does not use regex syntax. Here is what the example is: <Valve className="org.apache.catalina.valves.RemoteHostValve" allow="*.mycompany.com,www.yourcompany.com"/> <Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="192.168.1.*"/> Should be: <Valve className="org.apache.catalina.valves.RemoteHostValve" allow=".*mycompany\.com,www\.yourcompany\.com"/> <Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="192\.168\.1\..*"/> Thanks, Steve
The documentation has been updated in CVS. *** This bug has been marked as a duplicate of 16507 ***