tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: RemoteHostValve for infinite domains?
Date Thu, 01 Apr 2010 08:59:32 GMT
Dean Hiller wrote:
> I added this(I want it to use my requirements.war file for any requests to
> where xxxx is infinite combinations all of which
> point to one single ip of course.  I have another Host for
> as well with infinite combinations again.
> This does not seem to be working though...
>       <Host name=""  appBase="zrequirements"
>             unpackWARs="true" autoDeploy="true"
>             xmlValidation="false" xmlNamespaceAware="false">
>         <Valve className="org.apache.catalina.valves.RemoteHostValve"
>                allow=".*\.dev\.premonitionx\.com"/>
>       </Host>
> Do I have this wrong?  How do I get this to work?  Does the name need to
> match the allow or something?
I may add that with the kind of hostnames you are using, there should 
not be any special configuration necessary.  Should not the Tomcat host 
be able to figure out in advance which client is going to send a request 
to which host, and set itself up automatically ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message