Forum Discussion
HTTP::URI redirect to another Pool
Suppose if I have "www.suppose.com" behind an F5 with two web servers (192.168.1.1 & 192.168.1.2) listening on port 9200. I want an iRule that will append "/psp/rewrite/redirection" to either pool members it intends to send load balance instance to "http://192.168.1.1:9200" or "http://192.168.1.2:9200" to get "http://192.168.1.1:9200/psp/rewrite/redirection" or http://192.168.1.2:9200/psp/rewrite/redirection , so that load balancing can be done for www.suppose.com/psp/rewrite/redirection without reserving separate VIP/DNS entries.
In other words both "http://192.168.1.1:9200" and "http://192.168.1.2:9200" should lead to www.suppose.com/psp/rewrite/redirection by appending aforementioned string to the URL or redirect (not sure). So
"http://192.168.1.1:9200" append aforementioned string to get "http://192.168.1.1:9200/psp/rewrite/redirection" => www.suppose.com/psp/rewrite/redirection
Or
"http://192.168.1.2:9200" append aforementioned string to get "http://192.168.1.2:9200/psp/rewrite/redirection" => www.suppose.com/psp/rewrite/redirection
r_dynamo
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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