RE: Wildcard virtual hosts help

2004-07-20 Thread Gary Evesson
-Original Message- From: Cott Lang [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 10:14 PM To: Tomcat Users List Subject: RE: Wildcard virtual hosts help Thanks, Gary. I thought of that as a possibility over the weekend while mulling over Daniel's suggestion, but have

RE: Wildcard virtual hosts help

2004-07-19 Thread Gary Evesson
-Original Message- From: Cott Lang [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 2:11 PM To: Tomcat Users List Subject: Wildcard virtual hosts help I have a specific problem that requires that I map hundreds of thousands (yes, hundreds of thousands) of domain names to a

RE: Wildcard virtual hosts help

2004-07-19 Thread Cott Lang
Thanks, Gary. I thought of that as a possibility over the weekend while mulling over Daniel's suggestion, but have not had a chance to try it. I appreciate knowing someone else has it working. :) Thanks, Cott I have done this with re-write rules in apache by forcing the domain names into a

Re: Wildcard virtual hosts help

2004-07-16 Thread Ronald Klop
You can use a default host if I remember correct. All hosts which don't have there own mapping will be handled by the default host. Ronald. On Thu Jul 15 22:11:03 CEST 2004 Cott Lang [EMAIL PROTECTED] wrote: I have a specific problem that requires that I map hundreds of thousands (yes, hundreds

Re: Wildcard virtual hosts help

2004-07-16 Thread Daniel J. Obregon
What I'm thinking here is using a virtual host within an apache configuration file: *** With apache 2 (not sure if it's in apache 1.3x) you can have virtual hosts defined in separate files and then include them in the main httpd.conf file by saying Include path/to/foo.conf. Apache 1.3 will let

Re: Wildcard virtual hosts help

2004-07-16 Thread Cott Lang
I can't see how that would work (and it doesn't seem to), because while Apache points at the right app directory, any request coming into Tomcat that doesn't match an explicit host name goes to the default host, and thus to a different app ... i.e., I need to duplicate a config I have in Resin

Re: Wildcard virtual hosts help

2004-07-15 Thread Daniel J. Obregon
Have you considered using apache/mod_jk? If you are mapping thousands of domains to a few webapps, it might be better to use apache. Then, *worst* case you can write a script to generate and/or maintain a set of virtual hosts Just a thought... - Dan Obregon - I have a specific problem

Re: Wildcard virtual hosts help

2004-07-15 Thread Cott Lang
On Thu, 2004-07-15 at 13:15, Daniel J. Obregon wrote: Have you considered using apache/mod_jk? If you are mapping thousands of domains to a few webapps, it might be better to use apache. Then, *worst* case you can write a script to generate and/or maintain a set of virtual hosts