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

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 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 Rao Manekar
ALINA_BASE Date: Thu, 1 Mar 2007 16:55:07 -0800 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 irr

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 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-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.