tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Ruiz <rr...@gridsystems.com>
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,127.0.0.1,other IPs"/>

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

HTH,
Rodrigo Ruiz

Drinkwater, GJ (Glen) wrote:

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



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


Mime
View raw message