Forum Discussion
thornade_91981
Nimbostratus
Dec 12, 2007Loadbalance HTTP::redirect
Hi,
I'm looking for an irule to do the following :
when LB_SELECTED {
set ::WServer [LB::server addr]
HTTP::redirect "http://$::WServer/"
}
I have a pool of web servers and I want to redirect (http::redirect) clients to this pool.
The problem here is that LB_SELECTED method did not allow HTTP::redirect action.
Does someone had any idea to do this ?
Thorn
- hoolio
Cirrostratus
The same question was asked in this post (Click here), but no answer was suggested. Anyone have ideas on how you could issue a redirect based on the selected pool member? If there isn't a clean solution, could you mark the node down in LB_SELECTED and then issue the redirect from the LB_FAILED event?
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