Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8213DC04 for ; Wed, 12 Sep 2012 14:15:25 +0000 (UTC) Received: (qmail 49509 invoked by uid 500); 12 Sep 2012 14:15:22 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 49450 invoked by uid 500); 12 Sep 2012 14:15:22 -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 49442 invoked by uid 99); 12 Sep 2012 14:15:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 14:15:22 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_REPLYTO,FREEMAIL_REPLYTO_END_DIGIT,FSL_FREEMAIL_1,FSL_FREEMAIL_2,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.91.40] (HELO nm11-vm1.bullet.mail.ne1.yahoo.com) (98.138.91.40) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Sep 2012 14:15:12 +0000 Received: from [98.138.90.53] by nm11.bullet.mail.ne1.yahoo.com with NNFMP; 12 Sep 2012 14:14:50 -0000 Received: from [98.138.87.7] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 12 Sep 2012 14:14:50 -0000 Received: from [127.0.0.1] by omp1007.mail.ne1.yahoo.com with NNFMP; 12 Sep 2012 14:14:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 511954.95641.bm@omp1007.mail.ne1.yahoo.com Received: (qmail 58211 invoked by uid 60001); 12 Sep 2012 14:14:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1347459290; bh=8P07rHzhhzWS4MJbH9Bv/uODATv/8LgcnsU6V0NzOug=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=CQ+GqghXnQXNInuScYF82UaEk2Ruu3inzwI6Ja7wSeAWa1eiUnchtrN5MDhPz3a/P6TRDkz5icDc38u7jrHyvPWChOOoXsEEDlh+YfoIAmXY5FC/A7d9k1pUlsSPQ4dnCxHocTYE2APylp1F9bUCeGTvRuENbV2d5pKnbdOckj8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Q5OfhDOmic5sKNGbcpkoD3coieClbW/N936b0QjlweGQknQCLEH2rXddkqnFVlgHfXIHT8jXn/GxyXdO+CZmz6ih4PXcr6BN0elKBkyY5PG8ZDj7srFAwiN/rjoR4WpKIkvor7PefT0IGlXIksyyn7hUj2xeldSPTvVMU3rnOSE=; X-YMail-OSG: MRi6mAcVM1kPOeiw.w4ZPRDZX1yUn8ACQzqnFuHPZP4H3OY TOI__z7MSa5l9NzHT8nJQrp7OexOyxF4d2jdXb53aV0hv8kgiBNqbmykSzqD dBLkwpPeLndbvgHl6d9Z6jYAR0pigHoaW0BIloJrHmli9toI.Cu_av2nJRYa 07D3nbqVG8owUoaNhe7M4q588e3h1ysWe2p1r9KXELIeQsIC.btpDvApEIDE RXjgPZNEJWygdAHAOK4uwo6ksxB2BIRmAa.Ber17HxfT935Kcg.yUcQXxaoX Uj2xw4C.Ogaq4E61reotjQspiKABNJ2dNwgXllM.bMsaYIggLjiiUL4ITMIA p_eY2NrGqt5E1flEaSaZQCboXUmuq0_gOQxxEEEO_lmPlTa4h.m4ZEK5DWpw KCQ1TuYFmMFrxa.HzQ.51LI.twPf9ySYlKddBRZ4Ud0qIrIXlx2qoHmoJbBx 9pFrZRn9cQ16N7xfD9s0IxA-- Received: from [199.203.197.196] by web120502.mail.ne1.yahoo.com via HTTP; Wed, 12 Sep 2012 07:14:50 PDT X-Mailer: YahooMailWebService/0.8.121.416 Message-ID: <1347459290.58109.YahooMailNeo@web120502.mail.ne1.yahoo.com> Date: Wed, 12 Sep 2012 07:14:50 -0700 (PDT) From: sol myr Reply-To: sol myr To: "users@httpd.apache.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [users@httpd] Customized Stickiness Hi, We're using Apache2.2. as a load-balancer, in front of some Tomcats. Our Tomcats has some logic that calculates user's CITY of residence, and sends a corresponding cookie to the browser. E.g: - all HTTP requests from a New Yorker browser carry the cookie: "city=NY" - all HTTP requests from a Parisian browser carry the cookie: "city=Paris" Now we'd like the load-balancer to make sure all requests from the same city - go to the same Tomcat. E.g: - All requests from NY (namely with cookie "city=NY" go to the same Tomcat - All requests from Paris (namely with cookie "city=Paris" go to the same Tomcat - We don't mind which tomcat... just never to find 2 new yorkers connected to different Tomcats. Is there an easy way to handle it with Session Stickiness? I've looked at "stickysession" and "Header add set-cookie" , but couldn't quite put it together. Do I need some "_mod" that's stronger that mod_headers? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org