Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 60757 invoked from network); 25 Nov 2008 14:01:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Nov 2008 14:01:16 -0000 Received: (qmail 78569 invoked by uid 500); 25 Nov 2008 14:01:15 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78554 invoked by uid 500); 25 Nov 2008 14:01:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 78533 invoked by uid 99); 25 Nov 2008 14:01:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 06:01:15 -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 [192.153.32.176] (HELO cuda3.findlay.edu) (192.153.32.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 13:59:47 +0000 Received: from pan.findlay.edu (pan.findlay.edu [192.153.32.248]) by cuda3.findlay.edu (Spam Firewall) with ESMTP id D377C477580 for ; Tue, 25 Nov 2008 09:00:31 -0500 (EST) Received: from pan.findlay.edu (pan.findlay.edu [192.153.32.248]) by cuda3.findlay.edu with ESMTP id wFgFHLQe8GUrnVX6 for ; Tue, 25 Nov 2008 09:00:31 -0500 (EST) Received: from rfox-maclt.local ([10.6.90.145]) by pan.findlay.edu (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTPSA id <0KAW001Y26WV2280@pan.findlay.edu> for users@httpd.apache.org; Tue, 25 Nov 2008 09:00:31 -0500 (EST) Date: Tue, 25 Nov 2008 09:00:31 -0500 From: Ryan Fox To: users@httpd.apache.org Message-id: <492C04FF.4090004@findlay.edu> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_X+8J2ng306Z8/rj7/tNHEg)" User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_proxy_balancer stickysession --Boundary_(ID_X+8J2ng306Z8/rj7/tNHEg) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Greetings, I'm having a problem getting mod_proxy_balancer sticky sessions to work. My back-end real servers are adding a cookie with "BALANCEID=jics.ceyx; path=/; domain=.findlay.edu" (or jics.sterope, depending). mod_proxy_balancer should route to the appropriate server based on this value. My error_log excerpted below shows an initial client request at 08:36:41, before any cookie is set. ceyx is selected, serves the request, sets the cookie, all is well. A reload at 08:36:52 shows mod_proxy_balancer acknowledging the cookie, saying it should route to ceyx, and then disregarding it and sending the request to sterope. :-/ Why does apache hate me so? :) I'm running Apache/2.2.8 binary package on OpenBSD x86. Thanks, Ryan BalancerMember https://ceyx.findlay.edu:443 retry=600 route=ceyx BalancerMember https://sterope.findlay.edu:443 retry=600 route=sterope ProxyPass / balancer://jics/ stickysession=BALANCEID [Tue Nov 25 08:36:41 2008] [debug] mod_proxy_balancer.c(42): proxy: BALANCER: canonicalising URL //jics/ics/ [Tue Nov 25 08:36:41 2008] [debug] mod_proxy_balancer.c(274): proxy: BALANCER: Found value (null) for stickysession BALANCEID [Tue Nov 25 08:36:41 2008] [debug] mod_proxy_balancer.c(914): proxy: Entering byrequests for BALANCER (balancer://jics) [Tue Nov 25 08:36:41 2008] [debug] mod_proxy.c(849): Running scheme balancer handler (attempt 0) [Tue Nov 25 08:36:41 2008] [debug] mod_proxy_http.c(1822): proxy: HTTP: serving URL https://ceyx.findlay.edu/ics/ [Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(1855): proxy: HTTPS: has acquired connection for (ceyx.findlay.edu) [Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(1916): proxy: connecting https://ceyx.findlay.edu/ics/ to ceyx.findlay.edu:443 [Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(2015): proxy: connected /ics/ to ceyx.findlay.edu:443 [Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(2172): proxy: HTTPS: fam 2 socket created to connect to ceyx.findlay.edu [Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(2269): proxy: HTTPS: connection complete to 192.153.32.167:443 (ceyx.findlay.edu) [Tue Nov 25 08:36:41 2008] [debug] mod_proxy_http.c(1607): proxy: start body send [Tue Nov 25 08:36:41 2008] [debug] mod_proxy_http.c(1696): proxy: end body send [Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(1873): proxy: HTTPS: has released connection for (ceyx.findlay.edu) [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(42): proxy: BALANCER: canonicalising URL //jics/ics/ [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(274): proxy: BALANCER: Found value jics.ceyx for stickysession BALANCEID [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(284): proxy: BALANCER: Found route ceyx [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(914): proxy: Entering byrequests for BALANCER (balancer://jics) [Tue Nov 25 08:36:52 2008] [debug] mod_proxy.c(849): Running scheme balancer handler (attempt 0) [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_http.c(1822): proxy: HTTP: serving URL https://sterope.findlay.edu/ics/ [Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(1855): proxy: HTTPS: has acquired connection for (sterope.findlay.edu) [Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(1916): proxy: connecting https://sterope.findlay.edu/ics/ to sterope.findlay.edu:443 [Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(2015): proxy: connected /ics/ to sterope.findlay.edu:443 [Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(2172): proxy: HTTPS: fam 2 socket created to connect to sterope.findlay.edu [Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(2269): proxy: HTTPS: connection complete to 192.153.32.169:443 (sterope.findlay.edu) [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_http.c(1607): proxy: start body send [Tue Nov 25 08:36:52 2008] [debug] mod_proxy_http.c(1696): proxy: end body send [Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(1873): proxy: HTTPS: has released connection for (sterope.findlay.edu) --Boundary_(ID_X+8J2ng306Z8/rj7/tNHEg) Content-type: text/x-vcard; charset=utf-8; name=rfox.vcf Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=rfox.vcf begin:vcard fn:Ryan Fox n:Fox;Ryan org:The University of Findlay;Information Technology Services adr:128 Old Main;;1000 Main St;Findlay;OH;45840;USA email;internet:rfox@findlay.edu title:Network Systems Manager tel;work:419-434-4348 x-mozilla-html:TRUE version:2.1 end:vcard --Boundary_(ID_X+8J2ng306Z8/rj7/tNHEg) Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --Boundary_(ID_X+8J2ng306Z8/rj7/tNHEg)--