Forum Discussion
pjcampbell_7243
Cirrus
Apr 30, 2013Specifying pool in iRule failing
I have an iRule here and when I hit up the VIP that has this rule applied, it does not seem to work at all:
when CLIENT_ACCEPTED {
Save default pool name
set def...
pjcampbell_7243
Cirrus
Apr 30, 2013If I remove that, it still does not seem to work. For example, I've tried using only:
when HTTP_REQUEST {
log local0. "[HTTP::uri] [LB::server addr]"
if { [HTTP::uri] ends_with "test=64" }{
pool test-temp
} elseif { [HTTP::uri] contains "test=64&" }{
pool test-temp
}
}
It still only goes to the default pool.....
I'm confused ,as you can see I'm logging the HTTP::uri and it is exactly what is in the condition, yet it seems to be ignored???
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