Forum Discussion
mnb_63148
Nimbostratus
Jul 14, 2015iRule sending traffic to wrong pool
I have an iRule where I am trying to send the traffic to a specific pool if the iRule contains a specific URI (/MyExample in this instance). The URI being requested by the application is /MyExample/a...
Kevin_Stewart
Employee
Jul 14, 2015You need to also apply OneConnect to your VIP (in the HTTP profile and in the VIP itself).
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/myexample*" {
pool example_pool
}
"/" {
HTTP::respond 301 Location "http://[HTTP::host]/abc/"
}
default {
pool abc.com_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
