Forum Discussion
sandiksk_35282
Sep 28, 2016Altostratus
irule to direct traffic for a different pool
Need to direct particular user traffic to a different pool. This is all HTTPS traffic.
when user access https://abc.com they need to be fwded to poolA. When the request comes in as https://abc.com/C...
janholtz
Sep 28, 2016Altostratus
Here you go: (BTW, this could be made a LOT simpler, but this will give you the foundations for flexibility later 🙂 )
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::uri]] {
"" -
"/" {
pool poolA
}
"/customerdetails*" {
pool poolB
}
"/webofferlist*" {
pool poolB
}
"/membershipedit*" {
pool poolB
}
}
}
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