On Sat, Oct 26, 2013 at 12:28:40PM -0500, Kevin wrote:
> So I?m trying to figure out how to get stickiness based on the url path.
>
> My urls have the form
>
> server.com/32charSessionID/someOtherStuff
>
> I?ve been trying to come up with a stick rule to use the 32 character session
> id from the url, but nothing seems to work.
>
> I?ve tried stick on path as well as path_dir, but those didn?t work. The
> path_dir gives a config file error when haproxy starts. Maybe I?m not so good
> at deciphering the doc file, but I thought I?d at least get something working
> with one of those.
>
> Anyone using a path part for session stickiness? If so, please post your
> working config so I can keep some hair. :-)
If you have exactly 32 chars there, you should simply stick to "path"
for 33 chars ("/" + 32 chars) and it should be OK.
Willy