Forum Discussion
MOHIT_125417
Altostratus
Mar 27, 2014URL Based redirection
Geeks,
Below is my current setup
Virtual Server (IP 10.100.100.100)
Real Servers IP
RND7 ( IP 10.100.100.1) all Https request for app with Domain Name
...
Kevin_Stewart
Employee
Mar 27, 2014Try this:
pool_A = 10.100.100.1 and 10.100.100.2
pool_B = 10.100.100.3 and 10.100.100.4
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host][HTTP::uri]] {
"www.abc.com/xyz/*" -
"www.abc.com/dhl*" -
"www.hll.abc.com/ghi/*" { pool pool_A }
default { pool pool_B }
}
}
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