\.gc\.ca$

-> ends with .gc.ca

Filip

----- Original Message ----- 
From: "Sinkinson,Andrew [NCR]" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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