Forum Discussion
mahnsc
Nimbostratus
Sep 17, 2018Question on HTTP Persistence and iRules
My colleague and I seem to disagree on what happens with iRule processing on an HTTP Persistent connection. He thinks that if you have a rule that inspects a URI or SOAPAction header, that you can't ...
Kevin_Stewart
Employee
Sep 18, 2018You are correct. There'd be no point in trying to use URI-based pool selection if it wasn't able to select different pools on subsequent requests. A common example:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/images/*" {
pool images_pool
}
default {
pool app_pool
}
}
}
You may, however, need to enable OneConnect on the VIP to allow the server side connections to bounce between different servers. And if you were using the built-in cookie persistence, you'd actually get two different persistence cookies for the two pools in the example.
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
