Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8318D75DD for ; Wed, 21 Dec 2011 17:50:05 +0000 (UTC) Received: (qmail 66001 invoked by uid 500); 21 Dec 2011 17:50:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 65917 invoked by uid 500); 21 Dec 2011 17:50:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 65908 invoked by uid 99); 21 Dec 2011 17:50:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 17:50:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pid@pidster.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 17:49:55 +0000 Received: by wibhm2 with SMTP id hm2so2679991wib.18 for ; Wed, 21 Dec 2011 09:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type; bh=8LbKmnkfkKr65To9G3QM246zphNnImYstgrjzXMyxCo=; b=geAiuC9ZgZ9Spy8RT0jELASESYVzXf3yMA0L2ERpAyV/D9pM8DjuuOmAdi3R2+WYEL longkFR8kmY9CpOG0sMlodaJe1eOz6u2YU9M2f113g2CZQR/E2ywQ0DNVBoGz/CBZCFm RygisbrLF9hnaa/CLjm1QVSMtEpHAA5qYU0H4= Received: by 10.180.20.18 with SMTP id j18mr16110351wie.20.1324489774730; Wed, 21 Dec 2011 09:49:34 -0800 (PST) Received: from Asura.local (cpc10-lewi14-2-0-cust355.2-4.cable.virginmedia.com. [82.4.249.100]) by mx.google.com with ESMTPS id dj9sm15287156wib.6.2011.12.21.09.49.33 (version=SSLv3 cipher=OTHER); Wed, 21 Dec 2011 09:49:33 -0800 (PST) Message-ID: <4EF21C2B.6090608@pidster.com> Date: Wed, 21 Dec 2011 17:49:31 +0000 From: Pid Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Hosted environment References: <4EEEA51B.4040302@rstech.net> <4EEEEAF6.8050309@ice-sa.com> <4EF053AE.8000208@rstech.net> <4EF077B0.2020003@pidster.com> <4EF20BD2.6040901@pidster.com> <4EF2197B.1000806@rstech.net> In-Reply-To: <4EF2197B.1000806@rstech.net> X-Enigmail-Version: 1.3.4 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig3AA6B685FB23366F2FB97687" X-Virus-Checked: Checked by ClamAV on apache.org --------------enig3AA6B685FB23366F2FB97687 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/12/2011 17:38, r.sriram wrote: > is it possible for you to give me steps on what I should do please to > make the virtual host work. > I have domain name x.com, y.com and z.com (for example). For this what= > should the setup be so www.x.com, www.y.com and www.z.com take me to th= e > servlet appropriate for each? Please, *please*, stop top-posting. It's lazy, it makes it harder for people to follow the conversation and it annoys me. What are you not clear about? Ask specific questions and we will provide specific answers. p > -----------------------------------------------------------------------= -------------------------------------------------------------------------= --------------------------- >=20 >=20 >=20 > On 12/21/2011 10:09 PM, Pid wrote: >> On 20/12/2011 11:55, Pid wrote: >>> On 20/12/2011 09:21, r.sriram wrote: >>>> Thanks Andre. >>>> a few quick questions. >>>> >>>> Questions with respect to your response: >>>> Your response: >>>> >>>> >>>> ... >>>> >>>> >>>> >>>> ... >>>> >>>> >>>> Questions: >>>> >>>> * which is the file where I should add these lines >>> tomcat/conf/server.xml >>> >>>> * Is host1:www. If not what is it? >>> I don't know what that means. >>> >>>> * does path1, path2 etc. start at CATALINA_HOME? >>> See below. >>> >>>> * Is there any other configuration change that I need to do >>> Yes, you will need to configure the connection between HTTPD and Tomc= at, >>> using mod_proxy or mod_jk. >>> >>>> My Situation >>>> Tomcat will be installed in directory let us say in Program Files (*= 86) >>>> directory. That will have the web-inf directory. >>> WEB-INF, not web-inf. >>> >>>> Each domain has its own root, let us say: ..\domainX.com\httpdocs, >>>> domainY.com\httpdocs etc. >>> In that case, there should also be: >>> >>> ..\domainX.com\appBase >>> ..\domainY.com\appBase >> Like I said here ^^^ >> >> >>>> Questions: >>>> >>>> * should I copy WEB-INF directory from C:\Program Files >>>> (x86)\apache-tomcat-6.0.33\webapps\ROOT\ to each of >>>> ..\domainX.com\httpdocs, domainY.com\httpdocs etc. >>> No. Definitely not. >>> >>> A web application is not the same as a document root. >>> >>> You should move the whole of ROOT to the appBase described above. >> and here ^^^ >> >> >> p >> >> >>>> On 12/19/2011 1:12 PM, Andr=E9 Warnier wrote: >>>>> r.sriram wrote: >>>>>> Hello, >>>>>> I am setting up my multiple domains on Go Daddy. In my current >>>>>> in-house windows server my Tomcat is on Program Files (86) and the= >>>>>> ROOT is in C:\Program Files (x86)\apache-tomcat-6.0.33\webapps >>>>>> directory. That is where WEB-INF is, that is what is my actual pat= h >>>>>> for all files that gets picked up by my web pages (including my >>>>>> servlets). >>>>>> >>>>>> In Go Daddy, there would be different ROOTs for each domain. >>>>>> (..//httpdocs) But there would be one Tomcat installation.= >>>>>> >>>>>> can Tomcat be installed in Program Files (86), and the servlets, a= nd >>>>>> all the files needed for the domain be placed in ../>>>>> name>/httpdocs? >>>>>> Thanks.....Ram >>>>>> >>>>> Sure. Look at virtual hosts, here : >>>>> http://tomcat.apache.org/tomcat-7.0-doc/config/host.html >>>>> (and their appBase attribute) >>>>> >>>>> = >>>>> ... >>>>> >>>>> >>>>> = >>>>> ... >>>>> >>>>> etc.. >>>>> >>>>> I suggest to leave the default as it i= s, >>>>> and just add the others. >>>>> >>>>> -------------------------------------------------------------------= -- >>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>>> >>>>> >>>>> >>> >> >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --=20 [key:62590808] --------------enig3AA6B685FB23366F2FB97687 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJO8hwwAAoJEGoM2OGpOvr9pWAP/2JZgn9VKi0scoOh9frWGSsy BEize5pErUAysS7QXa9abR/swW/NgNTsW4i4hC5tQTjHDe6JnPBpkpLpu5HRlwyT DyESSzc7Eir98n7B5iC7gC8NdZHbUeu4zkrKclXOh23bPU5x6LawJeM9ZG/g9kCC bfVs20USTGvUw+SSI8ilOCfiisKVAMM4OytBZ3Fv2RHvD2eXbygCUTTYD7BJe4I1 qgXELNHmg+AY7LhoNPpU0xfdeaH1cZWRDZ4iXoJaAtyI/AYjYqc200Y8DEwD2M9Y 4Y3PTrzMEvkWGp8QMtINCvg4sUaKdT0KpYh/IyCNFmd0znMnOdvN+/KRIqfDO2r8 kvW2lmo0qVWBkdWks4vvpR+/09vlai4VINb/2iqEtpEdgm0zo/b20Jy+4dy+E5oW 2KX0keo7ukaFdrh+REX5x3iXEoaJCZqu2g9Y8e8Om8V8+KCLiqU0zsqFL/EgKSzR 7qr5JErVJQl7k73FRntWNjGEVB2DkACGOXW6s25xxzbPmA7hyLnJmRzrtqZD3BCN U75CivRR8RroDuPqosn6MUnPzSRrNcZ9p129y0qSiRBzqp1N60Sy6H7oIBeZ1QbK /Vh9NDvITY9kXZmZLC3g2GWcmIo+b3y5v+PbNMevDfHcTPwg/apU8E6jfY3Zw2NT CqmS+0fWztEHT6FLZIUd =dO0E -----END PGP SIGNATURE----- --------------enig3AA6B685FB23366F2FB97687--