tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27132] New: - RemoteHostValve doesn't allow anymore
Date Sat, 21 Feb 2004 08:28:32 GMT
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=27132>.
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=27132

RemoteHostValve doesn't allow anymore

           Summary: RemoteHostValve doesn't allow anymore
           Product: Tomcat 5
           Version: 5.0.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Laurent.Pellissier@ema.fr


In the file $CATALINA_HOME/conf/Catalina/localhost/admin.xml when I add the
lines below in the <Context> :
<Valve className="org.apache.catalina.valves.RemoteHostValve"
  allow="lavande.ema.fr"/>

The access to the admin WebApp is denied from lavande.ema.fr. It works if I
replace the Valve above with :
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
    allow="159.31.10.33"/>

Of course 159.31.10.33 is the IP address of lavande.ema.fr. It's not a network
access or a DNS problem because this works well on the same server when I use
Tomcat 4.1.29 ($CATALINA_HOME/conf/server.xml)

Best regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message