Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54815 invoked from network); 14 Feb 2007 15:52:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 15:52:12 -0000 Received: (qmail 52200 invoked by uid 500); 14 Feb 2007 15:52:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52180 invoked by uid 500); 14 Feb 2007 15:52: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 52169 invoked by uid 99); 14 Feb 2007 15:52:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 07:52:04 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [168.144.250.245] (HELO xsmtp05.mail2web.com) (168.144.250.245) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 07:51:52 -0800 Received: from [168.144.108.21] (helo=M2W021.mail2web.com) by xsmtp05.mail2web.com with smtp (Exim 4.63) (envelope-from ) id 1HHMPm-0002zN-1F for users@tomcat.apache.org; Wed, 14 Feb 2007 10:51:32 -0500 Message-ID: <380-22007231415512615@M2W021.mail2web.com> X-Priority: 3 Reply-To: wbrown@colorfulsoftware.com X-Originating-IP: 12.182.239.126 X-URL: http://mail2web.com/ From: "wbrown@colorfulsoftware.com" To: users@tomcat.apache.org Date: Wed, 14 Feb 2007 10:51:26 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: tomcat form authentication behind proxy looping issue. X-Virus-Checked: Checked by ClamAV on apache.org Greetings: I am using Tomcat 5=2E5=2E20 behind an apache 2=2E2 mod=5Fproxy=2E The web= app uses form authentication=2E If I access the webapp directly (http://localhost:8080/mywebapp) the authentication works and the user is redirected to the homepage=2E If I access the webapp behind the proxy (http://mywebapp=2Elocalhost) the authentication works but loops through the authentication process infinitely until the server times out=2E I have debugging enabled for the authentication process and I see in the logs that the user passes authentication and the principal and role are created=2E The log statements are repeated about 10 times and then in the browser I get a server timeout message instead of being redirected to the homepage=2E Here are the apache2 proxy directives: =2E=2E=2E ServerName mywebapp=2Elocalhost ProxyRequests Off ProxyPass / http://localhost:8082/mywebapp/ ProxyPassReverse / http://localhost:8082/mywebapp/ RewriteRule ^/(=2E*) http://localhost:8082/mywebapp/$1 [P,L] Here is the connector element in the server=2Exml =2E=2E=2E Has anyone seen this type of behavior before with their application=3F Wil= l switching to a mod=5Fjk proxy change this behavior=3F Thanks for any insig= ht you might have about this=2E Thanks=2E Bill=2E=20 -------------------------------------------------------------------- mail2web=2Ecom =96 Enhanced email for the mobile individual based on Micro= soft=AE Exchange - http://link=2Email2web=2Ecom/Personal/EnhancedEmail --------------------------------------------------------------------- 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