Forum Discussion
Mia_27938
Nimbostratus
Mar 15, 2013How to redirect based on same URL
Hi evreyone.
I have two VS and two Pools as follows
==================================
VS_1 (10.10.10.20:80)
P1 (20.20.20.20:80)
VS_2 (10.10.10.20:8080) ...
Mia_27938
Nimbostratus
Mar 15, 2013Thank you, Nitass
I applied the following two rules to VS1 without OneConnect, but I failed..
when CLIENT_ACCEPTED {
set def_pool [LB::server pool]
}
when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] starts_with "
pool $def_pool
}
elseif {
pool P2
}
}
when CLIENT_ACCEPTED {
set def_pool [LB::server pool]
}
when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] starts_with "was.abc.com"} {
pool P2
}
else {
pool $def_pool
}
}
Why can not??
Thank you,
Ho
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