Forum Discussion
BRAD_CROWE_1035
Nimbostratus
Nov 03, 2012Need users to be directed to specific pool members based on URI
Hi,
I am new to F5 LTM 10.2.3 and have a need to perform the following:
I have a Virtual server g2.ga1.test.com:443
There are three URI's that users will type:
g2.ga1....
nitass
Employee
Nov 03, 2012this is just one of examples.
[root@ve10:Active] config b virtual bar list
virtual bar {
snat automap
destination 172.28.19.79:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@ve10:Active] config b pool cmf_ap list
pool cmf_ap {
members {
10.21.1.121:7777 {}
10.21.1.122:7777 {}
}
}
[root@ve10:Active] config b pool cmf_na list
pool cmf_na {
members {
10.21.1.121:7778 {}
10.21.1.122:7778 {}
}
}
[root@ve10:Active] config b pool usat list
pool usat {
members {
10.21.1.121:7777 {}
10.21.1.121:7778 {}
10.21.1.122:7777 {}
10.21.1.122:7778 {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/cmf_ap*" { pool cmf_ap }
"/cmf_na*" { pool cmf_na }
"/usat*" { pool usat }
default {
do something
}
}
}
}
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
