Forum Discussion
jan_de_wachter_
Nimbostratus
Feb 25, 2014How assign a non-default persistence profile in an irule?
We are using a virtual server for HTTP.
We do selection of pool based on HOST using irule. If sicky persistence is needed we set the persistence to source-addr.
Now we would like to set mir...
Vitaliy_Savrans
Nacreous
Feb 25, 2014you can use something like this:
when HTTP_REQUEST {
Check the requested URI
switch -glob [HTTP::uri] {
"/abc.com/* {
pool abc_pool
persist source_addr 0
}
default {
pool defaul_pool
}
}
}
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