Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 49198 invoked from network); 14 Feb 2006 12:37:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Feb 2006 12:37:03 -0000 Received: (qmail 40765 invoked by uid 500); 14 Feb 2006 12:36:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40751 invoked by uid 500); 14 Feb 2006 12:36:47 -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 40740 invoked by uid 99); 14 Feb 2006 12:36:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 04:36:47 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.240] (HELO smtp107.plus.mail.mud.yahoo.com) (68.142.206.240) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Feb 2006 04:36:45 -0800 Received: (qmail 73620 invoked from network); 14 Feb 2006 12:36:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:In-Reply-To:Importance; b=fDgat1pk5QleaUQHYXImD6Y3Wx0gycN5yYsrTgFTAVpkgMFWmhgE3/PIl9fFa2BeBCc5MHSFixwS5pSAQtXJnbZfxC7Nbi61xak9NNWHQs2flHX4zCwf5OSwelWB/hnMeTgPWZG+prOhRYXy8fkfjWH5zaWilcDESTjbX7oP9Yo= ; Received: from unknown (HELO tjllap) (timlucia@24.62.239.192 with login) by smtp107.plus.mail.mud.yahoo.com with SMTP; 14 Feb 2006 12:36:24 -0000 From: "Tim Lucia" To: "'Tomcat Users List'" Subject: RE: Setting up a parallel test environment on the same machine as main server Date: Tue, 14 Feb 2006 07:36:22 -0500 Message-ID: <003c01c63163$43684cb0$0200a8c0@tjllap> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <200602140849.57974.alan@chandlerfamily.org.uk> Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 1. Moving the JkMount directive inside a will make it accesible from only that virtual host. So, you must repeat common ones, such as /jkmanager. I put the mappings (JkMount(s)) right in the = virtual host definition(s) with no trouble at all. 2. The virtual host is determined by the http host header, not by the connector host name. This is true for both httpd and tomcat (and any = other web server.) You can always install Apache httpd + Tomcat on a second machine (or on = the same machine on a separate set of ports), if you are reluctant to try it = on you production host. HTH, Tim -----Original Message----- From: Alan Chandler [mailto:alan@chandlerfamily.org.uk]=20 Sent: Tuesday, February 14, 2006 3:50 AM To: users@tomcat.apache.org Subject: Re: Setting up a parallel test environment on the same machine = as main server On Sunday 12 February 2006 17:07, Alan Chandler wrote: ... > Unless anyone here can suggest a better way, I would like to move the=20 > JkMountFile directive from global scope to virtual host scope and have = > two separate files urimap files so that I can map different things=20 > dependent on which virtual host. > > However, since this is a live site I don't want to just conduct the=20 > simple experiment to see if will work, so I am asking here if this is=20 > OK. Is there really nobody on this list who can answer this simple question? ... > However, I don't fully understand the relationship between ,=20 > and stanza's in the server.xml file, and until I do, I = > am reluctant to muck about with it and potentially screw the currently = > working arrangement. Specifically, there was some conversation here about it best that if = tomcat=20 was running on the same box as the web server (which it is in my case) = that=20 it would be best to make the connection between apache2 and tomcat be = via=20 localhost. That being the case, how can I map the SAME servlet name but from=20 a different virtual host (albeit ip based) on apache to DIFFERENT hosts = on=20 the same tomcat engine. --=20 Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org