Forum Discussion
JCMATTOS_41723
Nimbostratus
Jun 10, 2014Cookie and URI irule not working?
We have some ltms with 10.2 that will need to match on a cookie and uri irule logic and doesn't seem to be working properly.
when HTTP_REQUEST {
if { ([class match [HTTP::cookie "UserInfo"] ...
JCMATTOS_41723
Nimbostratus
Jun 11, 2014Kevin,
Thx for you response. Is the \ after the "and" a typo?
when HTTP_REQUEST { if { ([class match [HTTP::cookie "UserInfo"] contains companyX]) and \ not ([string tolower [HTTP::uri]] contains "/serviceb/")} { pool SERVER1 } }
- Cory_50405Jun 11, 2014
Noctilucent
Take the \ out of the iRule. I think Kevin meant that as an indicator that the statement was continued on the next line.
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