Has anyone been able to configure a Remote Host Filter for tomcat 5.0.27 that works?
-----Original Message----- From: Sinkinson,Andrew [NCR] Sent: August 26, 2004 1:53 PM To: [EMAIL PROTECTED] Subject: Configuring RemoteHostValve > Hi All, > > I am having difficulty in setting up a RemoteHostValve for my WebApp. > I have created a configuration descriptor file named CST_CLIENT.xml > with the following Context defined: > > <Context path="/CST_CLIENT"> > <Valve className="org.apache.catalina.valves.RemoteHostValve" > allow="*.gc.ca"/> > <!-- <Valve > className="org.apache.catalina.valves.RemoteAddrValve" > allow="142.135.*"/> --> > </Context> > > I am running Tomcat 5.0.27 on Windows 2000 Server. I have no problem > when I use RemoteAddrValve but cannot get the RemoteHostValve to work. > Here is the error in the stdout.log file: > > SEVERE: Error deploying configuration descriptor CST_CLIENT.xml > java.io.IOException: java.lang.IllegalArgumentException: Syntax error > in request filter pattern *.gc.ca > at > org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl > oyer.java:494) > at > org.apache.catalina.core.StandardHost.install(StandardHost.java:863) > > I have tried a lot of different regex expressions but have not had any > luck. If I try to perform an NSLOOKUP on the server this works also > without any problem. What am I missing? Any help would be > appreciated! > > Thanks in advance > > Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]