Forum Discussion
sundogbrew
Altocumulus
Nov 02, 2015pool redirect based on uri
So I have a list of like 9 different URIs that would be paths from one URL. I am wondering the best way to do it with an Irule. it would be
domain.com/
/bla1 insidepool:8101/bla1
...
sundogbrew
Altocumulus
Nov 06, 2015Stanislas, I am closer... But still not quite there.
ltm policy test-banner-policy {
controls { forwarding }
requires { http }
rules {
GeneralEventManagement {
actions {
0 {
forward
select
pool banner-beis-trnxe1-pool_8101
}
}
conditions {
0 {
http-uri
path
values { /BannerGeneralEventManagement /StudentAttendanceTracking /StudentApi }
}
}
ordinal 1
}
StudentClassSchedule {
actions {
0 {
forward
select
pool banner-beis-trnxe1-pool_8102
}
}
conditions {
0 {
http-uri
path
values { /StudentClassSchedule /StudentCourseCatalog }
}
}
ordinal 2
}
banneraxtnl01-8103 {
actions {
0 {
forward
select
pool banner-beis-trnxe1-pool_8103
}
}
conditions {
0 {
http-uri
values { /StudentOverall /StudentRegistration }
}
}
ordinal 3
}
bannertxl01-default-pool_543 {
actions {
0 {
forward
select
pool banner-beis-trnxe1-pool_543
}
}
conditions {
0 {
http-uri
values { * }
}
}
ordinal 4
}
}
strategy first-match
}
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