Forum Discussion
daemien_139983
Nimbostratus
Feb 04, 2014https redirect
Hi all,
Pretty new to F5-ltm, and i was wondering if anyone could help?
so we have is a site called https://site.mydomain.com/ & https://site.mydomain.com/tranfer on the same vip.
what...
Kevin_Stewart
Employee
Feb 04, 2014how would i do this if say i had /transfer and /upload and /uat muti nodes same pool.
Something like this maybe:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::uri]] {
"/transfer*" {
pool my_pool member 10.200.0.1 80
}
"/upload*" {
pool my_pool member 10.200.0.2 80
}
"/uat*" {
pool my_pool member 10.200.0.3 80
}
default {
pool default_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