Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 59709 invoked from network); 1 Oct 2009 13:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 13:08:38 -0000 Received: (qmail 21226 invoked by uid 500); 1 Oct 2009 13:08:37 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 21152 invoked by uid 500); 1 Oct 2009 13:08:37 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 21140 invoked by uid 99); 1 Oct 2009 13:08:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 13:08:36 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 13:08:27 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 87F3E234C044; Thu, 1 Oct 2009 06:08:03 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 47923] Apache 2.2.11 mod_proxy_balancer looses stickiness if a subdirectory is proxied to backend X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_proxy_balancer X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: mustafa.topaloglu@bmw.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20091001130803.87F3E234C044@brutus.apache.org> Date: Thu, 1 Oct 2009 06:08:03 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47923 --- Comment #1 from Mustafa Topaloglu 2009-10-01 06:08:01 PDT --- (In reply to comment #0) > The stickiness of mod_proxy_balancer works fine, if all content is proxied to > backend. > > BalancerMember http://160.50.216.29:3080 route=0 > BalancerMember http://160.50.216.28:3080 route=1 > > ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid > nofailover=Off > If I try to proxy only a specified subdirectory, the stickiness cannot be > preserved. > > BalancerMember http://160.50.216.29:3080 route=0 > BalancerMember http://160.50.216.28:3080 route=1 > > ProxyPass / balancer://mycluster/subdir stickysession=JSESSIONID|jsessionid > nofailover=Off > There aren't any error entries in log files. Correction of the second configuration for proxying subdirectories: BalancerMember http://160.50.216.29:3080 route=0 BalancerMember http://160.50.216.28:3080 route=1 ProxyPass /subdir balancer://mycluster/subdir stickysession=JSESSIONID|jsessionid nofailover=Off I tried all possible kombinations regarding trailing slashes. For example: ProxyPass /subdir/ balancer://mycluster/subdir/ stickysession=JSESSIONID|jsessionid nofailover=Off -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org