RE: RemoteHostValve for infinite domains?

2010-04-05 Thread Jeffrey Janner
. The easiest is probably multiple instances of Tomcat. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, April 01, 2010 12:24 PM To: Tomcat Users List Subject: Re: RemoteHostValve for infinite domains? -BEGIN PGP SIGNED MESSAGE- Hash

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Bob Hall
Dean, --- On Wed, 3/31/10 at 10:53 PM, Dean Hiller dean.hil...@gmail.com wrote:                allow=.*\.dev\.premonitionx\.com/ I haven't used this TC feature but it wouldn't hurt to try: allow=*\.dev\.premonitionx\.com / - Bob

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Mark Thomas
On 01/04/2010 06:53, Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread André Warnier
Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with infinite combinations again.

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread André Warnier
Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with infinite combinations again.

RE: RemoteHostValve for infinite domains?

2010-04-01 Thread Caldarale, Charles R
From: Bob Hall [mailto:rfha...@yahoo.com] Subject: Re: RemoteHostValve for infinite domains? I haven't used this TC feature but it wouldn't hurt to try: allow=*\.dev\.premonitionx\.com / Please explain how that parses, since the allow string uses regular expression syntax

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Pid
On 01/04/2010 06:53, Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Dean Hiller
So, xxx.dev.premonitionx.com will go be routed to Engine defaultHost=dev.premonitionx.com I will give that a try tonight then. If it doesn't, I guess I would have to write a patch. I need this feature to badly to be able to do companyname.premonitionx.com for any companies that register.

Re: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread Dean Hiller
hmmm, I don't think Engine worksaccording to http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html Exactly one *Engine* element MUST be nested inside a Servicehttp://tomcat.apache.org/tomcat-5.5-doc/config/service.htmlelement I need twoone for requests .domain1.com and one for

RE: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread Caldarale, Charles R
From: Dean Hiller [mailto:dean.hil...@gmail.com] Subject: Re: RemoteHostValve for infinite domains? Patch submit question... http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html Exactly one *Engine* element MUST be nested inside a Servicehttp://tomcat.apache.org/tomcat-5.5- doc

Re: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread André Warnier
Dean Hiller wrote: ... I need twoone for requests .domain1.com and one for .domain2.com where is infinite combination. I think that you are right. Based on the little I know about Java and Tomcat and RequestDispatcher, I would suggest a range of possible solutions, in my

Re: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread Dean Hiller
yes, I have thought through all those actually. Was just talking about urlrewrite filter and apache this morning. Issue with that then is having to keep their company name in a param of every single redirect seam does which is not the easiest of things to dothat way, company could be put in

Re: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread Hassan Schroeder
On Thu, Apr 1, 2010 at 9:45 AM, Dean Hiller dean.hil...@gmail.com wrote: I like the ip idea(except for needing two tomcats). You don't need 2 tomcats; a connector can be told to listen on a specific IP... Two services in tomcat doesn't work as then we would need different ports which is

Re: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread Dean Hiller
yes, interesting, unfortunately, I am running our QA and customer demo machine behind comcast at home so there is only one ip, though it would work for our production environment. Dean On Thu, Apr 1, 2010 at 10:56 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Thu, Apr 1, 2010 at

Re: RemoteHostValve for infinite domains? Patch submit question...

2010-04-01 Thread Hassan Schroeder
On Thu, Apr 1, 2010 at 10:00 AM, Dean Hiller dean.hil...@gmail.com wrote: yes, interesting, unfortunately, I am running our QA and customer demo machine behind comcast at home so there is only one ip, though it would work for our production environment. Then you could use the same 2-Engine

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dean, On 4/1/2010 10:37 AM, Dean Hiller wrote: So, xxx.dev.premonitionx.com will go be routed to Engine defaultHost=dev.premonitionx.com Yes. But, requests to xxx.demo.premonitionx.com will also go to that Host as well. I thin the only way to

RE: RemoteHostValve for infinite domains?

2010-04-01 Thread Bob Hall
--- On Thu, 4/1/10 at 5:52 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Please explain how that parses, since the allow string uses regular expression syntax, not wildcards (hence the need for the \. to match a period). I can't, since it doesn't. - Bob

RemoteHostValve for infinite domains?

2010-03-31 Thread Dean Hiller
I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with infinite combinations again. This does not seem