tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Configuring RemoteHostValve
Date Mon, 30 Aug 2004 12:46:48 GMT

Hi,
Yeah, I can confirm it works for me, with a regex just like Filip
posted.  (A different domain but same idea).

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Sinkinson,Andrew [NCR] [mailto:Andrew.Sinkinson@ec.gc.ca]
>Sent: Monday, August 30, 2004 8:46 AM
>To: Tomcat Users List
>Subject: RE: Configuring RemoteHostValve
>
>Thanks a lot for the examples but unfortunately it is still not
working.
>Can someone confirm that they are able to create a RemoteHostValve for
a
>given Context.
>
>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html
>
>Andrew
>
>-----Original Message-----
>From: Filip Hanik - Dev [mailto:devlists@hanik.com]
>Sent: August 27, 2004 4:20 PM
>To: Tomcat Users List
>Subject: Re: Configuring RemoteHostValve
>
>
>\.gc\.ca$
>
>-> ends with .gc.ca
>
>Filip
>
>----- Original Message -----
>From: "Sinkinson,Andrew [NCR]" <Andrew.Sinkinson@ec.gc.ca>
>To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>Sent: Friday, August 27, 2004 3:01 PM
>Subject: RE: Configuring RemoteHostValve
>
>
>I have tried using a lot of different regexps in the allow attribute of
>the valve element but have not had any luck. All I want is a regexps
>that validates that the dns is from .gc.ca
>
>Any help would be appreciated...thanks
>
>Andrew
>
>-----Original Message-----
>From: QM [mailto:qm300@brandxdev.net]
>Sent: August 26, 2004 4:18 PM
>To: Tomcat Users List
>Subject: Re: Configuring RemoteHostValve
>
>
>On Thu, Aug 26, 2004 at 01:53:26PM -0400, Sinkinson,Andrew [NCR] wrote:
>: > I am having difficulty in setting up a RemoteHostValve for my
>WebApp.
>: > [snip]
>: >       <Valve className="org.apache.catalina.valves.RemoteHostValve"
>: > allow="*.gc.ca"/>
>           ^^^^^^^
>
>The docs state this should be a regular expression.
>What you've included here is not a regular expression, but a wildcard.
>
>Review a couple of sites/docs on regexps and you'll see what I mean.
>
>-QM
>
>--
>
>software  -- http://www.brandxdev.net
>tech news -- http://www.RoarNetworX.com
>
>
>---------------------------------------------------------------------
>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
>
>---------------------------------------------------------------------
>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


Mime
View raw message