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...
flefranc_29890
Nimbostratus
Nov 06, 2008when i try this :
when LB_SELECTED {
if {[HTTP::uri] eq "/"}{
HTTP::redirect "http://[LB::server addr]"
}
}
I get line 3: [command is not valid in current event context (LB_SELECTED)] [HTTP::redirect "http://[LB::server addr]" ]
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