RE: how to setup multiple CATALINA_BASE

2007-03-02 Thread Rao Manekar
hi guys I have implemented what I learned. With simple tomcat installation, it works like charm! I have my two websites working with two different IPs. Did I say IPs... it is not IP dependent :-) For future reference to other people like me here is what I did in my test environment: 1.

RE: how to setup multiple CATALINA_BASE

2007-03-01 Thread Rao Manekar
<[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: RE: how to setup multiple CATALINA_BASE Date: Thu, 1 Mar 2007 21:13:38 -0600 > From: Rao Manekar [mailto:[EMAIL PROTECTED] > Subject: Re: how to setup multiple CATALINA_BASE >

RE: how to setup multiple CATALINA_BASE

2007-03-01 Thread Caldarale, Charles R
> From: Rao Manekar [mailto:[EMAIL PROTECTED] > Subject: Re: how to setup multiple CATALINA_BASE > > Ok now you are talking IP address. Offcourse I am working > with a registered domain name mapped to a specifi IP address. > So, how do I make tomcat recognize it? Tomcat does

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Martin Gainty
; To: "Tomcat Users List" Sent: Thursday, March 01, 2007 9:13 PM Subject: Re: how to setup multiple CATALINA_BASE > On 3/1/07, Rao Manekar <[EMAIL PROTECTED]> wrote: > >> We know that for sure that there is a domain name www.cnn.com registered in >> DNS. &g

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
On 3/1/07, Rao Manekar <[EMAIL PROTECTED]> wrote: Let me ask you this, Charles and Hassan, do you have an installation with tomcat referring to two websites with two different IP addresses? Sure, several. Some have one connector that listens on all addresses *configured on that host*, some hav

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Rao Manekar
Let's say I create a element and add my application files under ${catalina.home}/www/appBase/www.cnn.com ?! where did you get that path? Never mind, it doesn't matter because... http://wiki.apache.org/tomcat/CreateVirtualHosts If any one in the world type www.cnn.com would that request

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
On 3/1/07, Rao Manekar <[EMAIL PROTECTED]> wrote: We know that for sure that there is a domain name www.cnn.com registered in DNS. Let's say I create a element and add my application files under ${catalina.home}/www/appBase/www.cnn.com ?! where did you get that path? Never mind, it doesn't ma

RE: how to setup multiple CATALINA_BASE

2007-03-01 Thread Caldarale, Charles R
> From: Rao Manekar [mailto:[EMAIL PROTECTED] > Subject: Re: how to setup multiple CATALINA_BASE > > If any one in the world type www.cnn.com would that request > come to my server and get application under > ${catalina.home}/www/appBase/www.cnn.com Of course not, unless

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Rao Manekar
n.com would that request come to my server and get application under ${catalina.home}/www/appBase/www.cnn.com -rao From: "Hassan Schroeder" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: how to setup multiple CAT

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
On 3/1/07, Rao Manekar <[EMAIL PROTECTED]> wrote: As a matter of fact I tried it. It did not work. I couldn't figure out the relation between element and its IP address. You don't have to. :-) And in fact, it's really irrelevant whether the two hosts have different IPs or not -- the names,

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Rao Manekar
gt; Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: how to setup multiple CATALINA_BASE Date: Thu, 1 Mar 2007 16:16:22 -0800 On 3/1/07, Rao Manekar <[EMAIL PROTECTED]> wrote: . when I type www.website1.com in my browser, how does that request gets rout

RE: how to setup multiple CATALINA_BASE

2007-03-01 Thread Caldarale, Charles R
> From: Rao Manekar [mailto:[EMAIL PROTECTED] > Subject: RE: how to setup multiple CATALINA_BASE > > when I type www.website1.com in my browser, how does that > request gets routed to on my local tomcat installation? The host part of the URL is extracted and matched aga

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
On 3/1/07, Rao Manekar <[EMAIL PROTECTED]> wrote: . when I type www.website1.com in my browser, how does that request gets routed to on my local tomcat installation? Or to put it another way -- "When I ask for www.website1.com, why does Tomcat give me the webapps associated with www.website1.

RE: how to setup multiple CATALINA_BASE

2007-03-01 Thread Rao Manekar
OK. Let's see how I can implement this. Say, I have registered two domain names www.website1.com mapped to IP1 and www.website2.com mapped to IP2. I have my tomcat installed on localhost with two elements, www.website1.com and www.website2.com and applications installed as described in docu

RE: how to setup multiple CATALINA_BASE

2007-03-01 Thread Caldarale, Charles R
> From: Rao Manekar [mailto:[EMAIL PROTECTED] > Subject: how to setup multiple CATALINA_BASE > > Hi > can anyone tell me how to setup more than one CATALINA_BASE variable. > I am using tomcat 4.0. I following running.txt instructions to setup > CATALINA_HOME and CATALINA

how to setup multiple CATALINA_BASE

2007-03-01 Thread Rao Manekar
Hi can anyone tell me how to setup more than one CATALINA_BASE variable. I am using tomcat 4.0. I following running.txt instructions to setup CATALINA_HOME and CATALINA_BASE directories and variables. I am able to get the webapp in CATALINA_BASE. I want to have more than one CATALINE_BASE direc