Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 87036 invoked from network); 19 Nov 2007 13:11:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 13:11:38 -0000 Received: (qmail 22346 invoked by uid 500); 19 Nov 2007 13:11:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 22338 invoked by uid 500); 19 Nov 2007 13:11:14 -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 22327 invoked by uid 99); 19 Nov 2007 13:11:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 05:11:13 -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: local policy) Received: from [209.133.199.10] (HELO jimsys.jagunet.com) (209.133.199.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 13:11:04 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by jimsys.jagunet.com (Postfix) with ESMTP id 81E61CD695E for ; Mon, 19 Nov 2007 08:10:39 -0500 (EST) In-Reply-To: <2205.10.72.4.67.1195348820.squirrel@webmail.sttspa.it> References: <2205.10.72.4.67.1195348820.squirrel@webmail.sttspa.it> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jim Jagielski Subject: Re: mod_proxy or mod_jk? Date: Mon, 19 Nov 2007 08:10:38 -0500 To: "Tomcat Users List" X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org It almost sounds like it's more a config issue than a module one... Using mod_proxy_ajp is nice because you use normal httpd directives (ProxyPass. etc..) to handle the stuff that TC needs to handle. On Nov 17, 2007, at 8:20 PM, Rocco Scappatura wrote: > > Hello. > > I would like to publish a Web application running under Tomcat. > > I'm using Apache 2 as Web server. > > Basically, I have two opportunities: > > 1) mod_jk > 2) mod_proxy > > I've tried the first. So I discover that I ve: > > - Create an alias in httpd.conf so that al static pages are processed > directly by Apache2. > - Use JkMount directive so that path is mapped to worker (and so to > Tomcat) > > I don't know I have well understod the concept, but I have noted that > application doesn't work correcltly. For example, assuming that the > path > of the application is '/path'. When I accesst to http:/// > path > all works fine. But if I access to http:///path/subpath I > get > Visualizzation errors (It seems tome that it misses CSS.. and so on). > > I read that it is possible to use mod proxy. > > Now, I would like to know from mailing list if mod_proxy is the best > choice or otherwise if I have to solve problem similiar to the one > I ve > pointed out above, and to use mod_jk. > > Thanks, > > rocsca > > > > > --------------------------------------------------------------------- > 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