tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Ruiz <>
Subject Re: org.apache.catalina.valves.RemoteHostValve
Date Thu, 27 Nov 2003 09:43:51 GMT
Instead of denying access, try to allow it. I think the valve should 
accept this syntax:

<Valve className="..." allow="localhost,,other IPs"/>

If you only deny access from other intranet computers, you are allowing 
access from internet

Rodrigo Ruiz

Drinkwater, GJ (Glen) wrote:

>I have tried to put 
><Valve className="org.apache.catalina.valves.RemoteHostValve"
>deny="*"/> in my context but it keeps on throwing an exception 
>Catalina.start: java.lang.IllegalArgumentException: Syntax error in request
>filter pattern *
>Can wild cards be used in this context?
>Does anybosy know how to only allow the localhost to access the server
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message