Forum Discussion
nrg2brn_163859
Nimbostratus
Mar 10, 2015I just did my first (pool switching) irule, now they threw me a curve ball.
I was feeling pretty good with my little irule that, depending on the first few letters of the uri would switch pools:
when HTTP_REQUEST {
Check the requested path with wildcard matching
...
nitass_89166
Noctilucent
Mar 10, 2015([string tolower [HTTP::query]] contains "?action=search"))} {
i think HTTP::query does not include question mask (?).
[root@ve11c:Active:In Sync] config tail -f /var/log/ltm
Mar 11 12:59:13 ve11c info tmm[15262]: Rule /Common/qux : [HTTP::uri]=/erma/login.htm?action=search [HTTP::path]=/erma/login.htm [HTTP::query]=action=search
- StephanMantheyMar 11, 2015
Nacreous
Definitely true. Copy & paste mistake. Corrected. Thanks! :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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