Forum Discussion
flefranc_29890
Nimbostratus
Nov 05, 2008http redirection to an IP address of a pool member
Hello,
I want to redirect all http traffic to a VIP address to the IP address of a member of a pool.
I begin like this in a i-rule :
when HTTP_REQUEST {
i...
hoolio
Cirrostratus
Nov 05, 2008If you really want to redirect the client to the selected pool member's IP address, you can use a rule like this (Click here😞
when LB_SELECTED {
Check if requested URI is /
if {[HTTP::uri] eq "/"}{
Send redirect with the selected server's IP address
HTTP::redirect "http://[LB::server addr]"
}
}
Aaron
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