Forum Discussion
sanjai_126162
Nimbostratus
Apr 19, 2017Irule for cookies match
Hi, We have requirement to match 2 condition. 1-its have match the cookies condition 2-its have the request uri then route to pool member [not pool]
I created the below irule
when HTTP_REQUEST { if { ([HTTP::cookie "UserInfo"] contains redapp) && ([string tolower [HTTP::uri]] contains "/abcd/")} { node 1.2.1.1 80}
could you suggest will it work or please some sample irule with datagroup match.
1 Reply
Sort By
- Samir_Jha_52506
Noctilucent
Did you tried above iRule? I don't see any issue in iRule
when HTTP_REQUEST { if { ([HTTP::cookie "UserInfo"] contains "redapp") && ([string tolower [HTTP::uri]] contains "/abcd/")} { node 1.2.1.1 80 } }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects