Re: Host Aliases, Wildcards

2004-08-04 Thread Cott Lang
On Mon, 2004-08-02 at 09:43, J.Lindberg wrote: Tomcat docs on host aliases say nothing about wildcards, so I'm assuming it's not implemented. Would be nice to see a change in this policy. :) It is most definitely not implemented. I even browsed down through the source to review how it did

RE: Host Aliases, Wildcards

2004-08-04 Thread Shapira, Yoav
and enhancements are welcome ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Cott Lang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 11:51 AM To: Tomcat Users List Subject: Re: Host Aliases, Wildcards On Mon, 2004-08-02 at 09:43, J.Lindberg wrote: Tomcat

RE: Host Aliases, Wildcards

2004-08-04 Thread Cott Lang
PROTECTED] Sent: Wednesday, August 04, 2004 11:51 AM To: Tomcat Users List Subject: Re: Host Aliases, Wildcards On Mon, 2004-08-02 at 09:43, J.Lindberg wrote: Tomcat docs on host aliases say nothing about wildcards, so I'm assuming it's not implemented. Would be nice to see a change

Re: Host Aliases, Wildcards

2004-08-03 Thread Ruth, Brice
OK, I understand where you are coming from. I believe your assessment is correct. That would be nice! J. Lindberg wrote: Yes it's configured to forward requests to tomcat, [uri:*.jsp]. The thing is, I have several virtual hosts on the server and I would like to keep them separate. I have had

Host Aliases, Wildcards

2004-08-02 Thread J . Lindberg
Hey all. I've searched the internet about this, but have come up empty handed, so I'll ask you guys; Is it at all possible to use wildcards in host aliases? I have a host, say example.com. I would like all requests to anything.example.com to alias to example.com. I've already set up the DNS

Re: Host Aliases, Wildcards

2004-08-02 Thread Ruth, Brice
Not sure about Tomcat, but Apache should be able to handle this with a few well-written mod_rewrite entries. J. Lindberg wrote: Hey all. I've searched the internet about this, but have come up empty handed, so I'll ask you guys; Is it at all possible to use wildcards in host aliases? I have a

Re: Host Aliases, Wildcards

2004-08-02 Thread J . Lindberg
Thanks for your reply. Yes, there is no problem with Apache web server, using ServerAlias which supports wildcards. It all works fine until it encounters a .jsp file, then it's a no-go. On 2004-08-02, at 18.18, Ruth, Brice wrote: Not sure about Tomcat, but Apache should be able to handle this

Re: Host Aliases, Wildcards

2004-08-02 Thread Ruth, Brice
Well, you should be able to use the mod_jk (or mod_jk2) module to hand off request to any JSPs to Tomcat ... and Tomcat can just be configured under a single host, so what the incoming hostname request looks like won't matter to it ... only the context its requesting. Have you configured

Re: Host Aliases, Wildcards

2004-08-02 Thread J . Lindberg
Yes it's configured to forward requests to tomcat, [uri:*.jsp]. The thing is, I have several virtual hosts on the server and I would like to keep them separate. I have had some issues using just one host on tomcat, namely; if you have two domain names and they both have a JSP page called