On Wed, Oct 28, 2009 at 08:43:13PM -0400, Robinson, Michael wrote: > Thanks again, Aleks and Willy. > > This is finally working - not an elegant solution, but as a workaround a > SERVERID cookie can be appended onto the request header using Apache > mod_header that mimics the one inserted by HAproxy on outgoing responses. > So, basically HAproxy sees a "normal" client request, and "cookie SERVERID > insert indirect nocache" can work as documented. This is possible because > the jsessionid value passed in the URL has the originating server appended to > the session information already (apparently that is what mod_jk uses and our > software was originally written with mod_jk in mind).
OK but you apparently did not check what I suggested was wrong in your config, which is the fact that you are using two different cookies names, "JSESSIONID" and "jsessionid", which is the reason why it is not matched in the URL. It should be easier to fix that than to rewrite request parts along the chain which will become a real nightmare. Willy

