Forum Discussion
t_rajneesh_2252
Nimbostratus
Oct 08, 2015Irule to redirect the traffic to UAt app on PROD server
Hi All,
I required your experitse help in creating Irule :
scenerio:
We have production server on which both PROD url www.abc.com & UAT url uat.abc.com are hosted.
On F5, we have...
Kevin_Stewart
Employee
Oct 08, 2015Pretty straight forward to do in an iRule:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"www.abc.com" {
pool abc_pool
}
"uat.abc.com" {
pool uat_pool
}
default {
pool abc_pool
}
}
}
You can also do this without iRules with an LTM policy configuration. In either case you'll also want a OneConnect profile applied to the VIP: specific OneConnect profile + OneConnect enabled in the HTTP profile.
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