I am trying to determine stickiness in Apache. Here is the definition in the .conf proxy:
<Proxy balancer:
BalancerMember https:
BalancerMember https:
ProxySet stickysession=JSESSIONID|jsessionid
</Proxy>
ProxyPass /doc balancer:
or
ProxyPass "/doc " "balancer://fs1" stickysession=JSESSIONID|jsessionid scolonpathdelim=On
<Proxy balancer://fs1>
BalancerMember https://localhost:5006/doc route=node1
BalancerMember https://localhost:5008/doc route=node2
</Proxy>
I am trying to use the url request parameter to achieve stickiness (because I understand that overriding cookies is not recommended). As written in the Apache documentation:
- URL. URL- . stickysession. - . URL-, , . mod_substitute mod_sed. , .
10 :
https:
, node1 (5 ) node2 ( 5 ). stickysession, node1 node.
, https://{{myserver}}/doc?jsessionid=nodeX, nodeX ( cookie.., - URL).
, https://{{myserver}}/doc?jsessionid=node1 10 . 10 https://localhost:5006.
?