Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 29752 invoked from network); 6 Mar 2008 20:32:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2008 20:32:47 -0000 Received: (qmail 67136 invoked by uid 500); 6 Mar 2008 20:32:36 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 67083 invoked by uid 500); 6 Mar 2008 20:32:36 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 67072 invoked by uid 99); 6 Mar 2008 20:32:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 12:32:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dirkx@webweaving.org designates 209.132.96.45 as permitted sender) Received: from [209.132.96.45] (HELO skutsje.san.webweaving.org) (209.132.96.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 20:31:59 +0000 Received: from dyn-210.leiden.webweaving.org (5356CA0A.cable.casema.nl [83.86.202.10]) (authenticated bits=0) by skutsje.san.webweaving.org (8.12.9/8.12.9) with ESMTP id m26KW62Q050312 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 6 Mar 2008 12:32:08 -0800 (PST) (envelope-from dirkx@webweaving.org) Message-Id: <43530BF2-1D3D-42DB-BD82-B951FBB4F64F@webweaving.org> From: Dirk-Willem van Gulik To: dev@httpd.apache.org In-Reply-To: <416D70DA-AB3F-4CDD-BB56-D3279D5CA889@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Adding stickysession cookie on the proxy Date: Thu, 6 Mar 2008 21:32:09 +0100 References: <47CEFEAE.5050806@iki.fi> <47CF1E1C.9010901@apache.org> <47D02DD1.4010409@iki.fi> <416D70DA-AB3F-4CDD-BB56-D3279D5CA889@apache.org> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Mar 6, 2008, at 9:05 PM, Jim Jagielski wrote: > > On Mar 6, 2008, at 12:45 PM, Jani M. wrote: > >> Ruediger Pluem wrote: >>> You can already do this with mod_headers. Just add >>> Header add Set-Cookie "MYCOOKIE=SOMEVALUE.% >>> {BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED >> >> Ah. Don't know why, but for some reason I didn't even think of >> using mod_headers for this. Now that you mentioned this, it seems >> quite obvious. >> >>> No need for additional code IMHO. >> >> I agree. "Native" support for this in proxy module directly would >> be nice, but not necessarily worth the effort. >> > > The advantage of mod_headers is more flexibility that what could > be "comfortably" added to the proxy module itself as well... > > This comes up maybe once or twice a year... I think I'll add > it to my standard Apache 2.2 Proxy module presentation ;) Or a how-to in the docs - in the proxy section. Dw