tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drinkwater, GJ (Glen)" <G.J.Drinkwa...@dl.ac.uk>
Subject org.apache.catalina.valves.RemoteHostValve
Date Wed, 26 Nov 2003 18:12:31 GMT
Hi

I am trying to only allow localhost to access my tomcat server.  I have
tried to put 


<Valve className="org.apache.catalina.valves.RemoteHostValve"
deny="*.my.host.uk"/> in my context but it keeps on throwing an exception 

Catalina.start: java.lang.IllegalArgumentException: Syntax error in request
filter pattern *.my.host.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


Mime
View raw message