tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sinkinson,Andrew [NCR]" <Andrew.Sinkin...@ec.gc.ca>
Subject RE: Configuring RemoteHostValve
Date Fri, 27 Aug 2004 20:01:08 GMT
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


Mime
View raw message