You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/28 20:17:30 UTC

DO NOT REPLY [Bug 16507] New: - Remote Host Filter does not allow wild-card

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16507>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16507

Remote Host Filter does not allow wild-card

           Summary: Remote Host Filter does not allow wild-card
           Product: Tomcat 4
           Version: 4.1.18
          Platform: Sun
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: paul.ramirez@jpl.nasa.gov


According to the documentation the following is permitted:

  <Valve className="org.apache.catalina.valves.RemoteHostValve"
         allow="*.mycompany.com,www.yourcompany.com"/>

However, in practice Tomcat will not startup properly when you specify a wild 
card characeter in this regular expression. You can however just 
put "mycompany.com" in the allow field to allow only connections with the 
domain "mycompany.com". Therefore, I'm not sure whether or not Tomcat is 
supposed to support the wild card character.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>