Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55763 invoked from network); 2 Oct 2008 05:01:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2008 05:01:49 -0000 Received: (qmail 35517 invoked by uid 500); 2 Oct 2008 05:01:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 35494 invoked by uid 500); 2 Oct 2008 05:01:35 -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 35481 invoked by uid 99); 2 Oct 2008 05:01:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 22:01:35 -0700 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 [75.126.80.10] (HELO sl1001.webappcabaret.net) (75.126.80.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 05:00:32 +0000 Received: (qmail 31086 invoked from network); 2 Oct 2008 00:00:04 -0500 Received: from adsl-71-129-145-165.dsl.pltn13.pacbell.net (HELO ?172.16.0.111?) (71.129.145.165) by sl1001.webappcabaret.net with SMTP; 2 Oct 2008 00:00:04 -0500 Message-ID: <48E454FB.9030707@ngasi.com> Date: Wed, 01 Oct 2008 21:58:35 -0700 From: Gabe Wong User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: tomcat6 + proxy issues References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jeff try: ProxyPass /app1 http://localhost:8080/app1 ProxyPassReverse /app1 http://localhost:8080/app1 and better yet if your have mod_proxy_ajp: ProxyPass /app1 ajp://localhost:8009/app1 ProxyPassReverse /app1 ajp://localhost:8009/app1 Jeff D wrote: > Hi All, > > I'm having some issues with some apps I am running on my server. I'm > running multiple apps in tomcat and serving up each of them through > apache with mod_proxy. Most of these are working great, but there are a > few that don't seem to want to co-operate. I currently have my proxies set > up in this manner: > > ProxyPass / http://localhost:8080/app1/ > ProxyPassReverse / http://localhost:8080/app1/ > > The problem seems to happen during POSTs , it seems to put /app1/ into the > POST. For example, if I go to http://app1host/login , the post to the > login becomes http://app1host/app1/login . If I do the same on > http://localhost:8080/app1/login , all works fine. > > I've also tried adding to the server.xml: > > > But, that ends up sending me in redirect loops. > > Anyone have any idea on how to solve this? > > thanks > Jeff > > > --------------------------------------------------------------------- > 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 > > > > -- Regards Gabe Wong NGASI AppServer Manager JAVA AUTOMATION and SaaS Enablement for Cloud Computing http://www.ngasi.com NEW! FREE Developer account for Hosted version on Amazon EC2 --------------------------------------------------------------------- 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