Hello Nathan,

On Sat, Nov 23, 2013 at 11:01:38AM +1100, Nathan Reilly wrote:
> Hello Group,
> 
> I am trying to stick requests based on a post URL parameter, like this:
> ?method=getPreferenceRecommendation&clientType=99&contentSourceId=2&subscriberId=0000-00000&numRecommendations=1&applyMarketingBias=false&allowPreviousRecommendations=false&product=TVOD
> 
> Here is my config:
> frontend sdp-esb.uat1-online
>   bind 10.116.126.53:9001
>   mode http
>   acl sdp-esb.uat1-online_host dst 10.116.126.53
>   acl sdp-esb.uat1-online_port dst_port 9001
>   use_backend sdp-esb.uat1-online if sdp-esb.uat1-online_host
> sdp-esb.uat1-online_port
>   stick on url_param(subscriberId)
> 
> backend sdp-esb.uat1-online
>   mode http
>   server 10.116.126.60 10.116.126.60:9001 check port 9001 inter 5000
>   server 10.116.126.61 10.116.126.61:9001 check port 9001 inter 5000
>   stick-table type string len 40 size 5m expire 30m
>   stick store-request url_param(subscriberId)
> 
> But I am getting an error: 'stick': unknown fetch method
> 'url_param(subscriberId)'.

What version are you using ? I'm seeing very different things :

[WARNING] 326/091638 (24022) : parsing [nathan.cfg:8] : 'stick' ignored because 
frontend 'sdp-esb.uat1-online' has no backend capability.

> First of all I guess, can what I require be achieved? and if so, what is
> wrong with the config?

I suspect you're using too old a version for this keyword to be
available here.

Regards,
Willy


Reply via email to