You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Shapira, Yoav" <Yo...@mpi.com> on 2003/12/01 20:40:23 UTC

RE: org.apache.catalina.valves.RemoteHostValve

Howdy,
I already answered this question, FCOL.  Put just the subnet without a *
as the attribute value.  Senor Ruiz's suggestion would also work but
it's not what the original poster asked.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Rodrigo Ruiz [mailto:rruiz@gridsystems.com]
>Sent: Thursday, November 27, 2003 4:44 AM
>To: Tomcat Users List
>Subject: Re: org.apache.catalina.valves.RemoteHostValve
>
>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




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.


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