Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 7576 invoked from network); 19 Oct 2006 11:48:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2006 11:48:55 -0000 Received: (qmail 55518 invoked by uid 500); 19 Oct 2006 11:48:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55486 invoked by uid 500); 19 Oct 2006 11:48:39 -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 55475 invoked by uid 99); 19 Oct 2006 11:48:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 04:48:39 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 213.186.58.92 is neither permitted nor denied by domain of michael.courcy@gmail.com) Received: from [213.186.58.92] (HELO ns31075.ovh.net) (213.186.58.92) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Oct 2006 04:48:38 -0700 Received: (qmail 17767 invoked by uid 503); 19 Oct 2006 11:50:09 -0000 Received: from unknown (HELO ?192.168.1.10?) (86.210.40.33) by ns31075.ovh.net with SMTP; 19 Oct 2006 11:50:09 -0000 Message-ID: <453774AA.8080707@gmail.com> Date: Thu, 19 Oct 2006 13:50:50 +0100 From: Michael Courcy User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat, Apache and mod_jk configuration References: <20061019105608.6711C20B0FF@smtp3.ldcom.fr> In-Reply-To: <20061019105608.6711C20B0FF@smtp3.ldcom.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Here is a fragment of my server.xml verlina.com tique-et-puce.fr www.tique-et-puce.fr shampooing-chien.fr www.shampooing-chien.fr And here is a fragment of my httpd.conf ServerName www.verlina.com ServerAlias verlina.com ServerAlias tique-et-puce.fr ServerAlias www.tique-et-puce.fr ServerAlias shampooing-chien.fr ServerAlias www.shampooing-chien.fr JkMount /* ajp13 ServerAdmin webmaster@verlina.com #DocumentRoot /home/verlina/www User verlina Group users CustomLog logs/verlina-access_log combined ScriptAlias /cgi-bin/ /home/verlina/cgi-bin/ The idea is to put the JkMount inside the virtualHost of Apache. But discussing with Mr Caldarale, this layout is weak, even if it works. Because if you make any change to the context, you're forced to restart tomcat instead of just redeploying your context. There should be a way for your app to programatticly communicate to tomcat the list of domain the app should handle, but I don't know how to do that. Cheers. DE VINZELLES, Guillaume (ext.) a �crit : > Hi there, > > Here is my problem. I got a working Tomcat 5.5.20 handling 4 webapps in /var/tomcat/webapps. I got a working Apache 2, configured with several virtualhosts. > I managed to connect the Apache to the Tomcat using an AJP13 connector, and everything is working fine. > Now, I'd like to map each one of my webapps to a different virtualhost. > For instance, I'd like that my webapp example1, which is in /var/tomcat/webapps/example1, should be accessible through www.example1.com (and NOT www.example1.com/example1 - I've already that working). > How do you achieve this using the jkMount directives? > I've tried with jkMount /example1/* ajp13 and my webapp is accessible only through www.example1.com/example1. > > Thanks in advance for your answers! > > Guillaume de Vinzelles > DSI/PFS Neuf Cegetel > Altran Technologies > > guillaume.devinzelles@neufcegetel.fr > > 01 70 18 21 64 > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org