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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to