Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 1137 invoked from network); 24 Jan 2009 22:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2009 22:47:15 -0000 Received: (qmail 23845 invoked by uid 500); 24 Jan 2009 22:47:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23811 invoked by uid 500); 24 Jan 2009 22:47:04 -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 23800 invoked by uid 99); 24 Jan 2009 22:47:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 14:47:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.174 as permitted sender) Received: from [212.85.38.174] (HELO popeye.combios.es) (212.85.38.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 22:46:54 +0000 Received: from [192.168.245.129] (p549EB8DA.dip0.t-ipconnect.de [84.158.184.218]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id n0OMkW2F012437 for ; Sat, 24 Jan 2009 23:46:33 +0100 Message-ID: <497B9951.2090105@ice-sa.com> Date: Sat, 24 Jan 2009 23:42:25 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Forward request from apache to specific web application References: <21641751.post@talk.nabble.com> In-Reply-To: <21641751.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8899/Sat Jan 24 14:06:33 2009 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Salalam wrote: > I think my problem is very common, but I didn't find a solution. > > I have Tomcat 5.5 with a web application. Let's say this application is > deployed in the context 'mywebapp'. I can call the application with the url > http://mydomain.com:8080/mywebapp. > But now i want to call the application via apache directly, e.g. with port > 80 so that the url is just http://mydomain.com Well the first question to ask is whether you really need an Apache front-end here. You can have Tomcat listening directly on port 80 by just changing the corresponding HTTP in your server.xml. And forget Apache and mod_jk in that case. An Apache httpd+mod_jk front-end is justified if, apart from sending some specific requests to Tomcat webapps, you want to do some other things at the Apache level, that Tomcat cannot do as easily. But if you are sending everything to Tomcat anyway, then I don't see the point. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org