Anyone have any ideas about how much effort it would take to add
substring of url_path as a stick pattern? Current stick patterns are noted in section 7.8 of the 1.4.8 manual but don't currently include substring :(

On 10/13/10 4:01 PM, Hank A. Paulson wrote:
I have a site that is using a url based stickiness:

example.com/something/:delim:K:delim:unique_session_info_here:delim::delim:/more_path_stuff...


right now the delim is ( and as far as I know that doesn't need to be encoded.
The problem is haproxy 1.4 can't seem to see that in the URL for appsession use.

I am wonder how/if I can use the new "stick" stuff - it seems perfect for this
and the table type of "string" is there, but there is no way I can see to put
a string extracted from the url into such a table. Or if there is any other
way... since some of the important client users can't use cookies, I am stuck :(

Thanks for any ideas.



BTW, it looks like this error msg is wrong in 1.4.8:

[ALERT] 286/044915 (5233) : parsing [/etc/haproxy/haproxy.cfg:57]: 'observe'
expects one of 'none', 'l4events', 'http-responses' but get 'layer'

It gets cut off there, but the correct string seems to "layer7" not
"http-responses"


Reply via email to