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 17, 2013Hi Bhattman,
Thank you for your reply.
I have solved by using the follwoing rule.
when HTTP_REQUEST {
log local0. "in HTTP_REQUEST"
if { [HTTP::uri] starts_with "/sso" } {
pool my_HTTP_was_pool
}
elseif {[HTTP::host] eq "was.kornu.ac.kr"}{
pool my_8080_was_pool
} else {
pool my_HTTP_was_pool
}
}
But, your rule looks very better.
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