Tony Tomcat wrote:
Does the RemoteHostValve work? There are no examples in the Tomcat 5
docs and the tomcat 4 docs have the following..
<Valve className="org.apache.catalina.valves.RemoteHostValve"
allow="*.mycompany.com,www.yourcompany.com"/>
The docs have been updated for 4 and 5 not to use this example.
The problem is that . is a special character in a regular expression
and needs to be escaped if you want to match a single . character in
your input.
The regexp docs are the place to read up on this.
The following should work but I haven't tried it.
<Valve className="org.apache.catalina.valves.RemoteHostValve"
allow=".*mycompany\.com,www\.yourcompany\.com"/>
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]