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
2 Replies
- Colin_Walker_12Historic F5 AccountYou want to send a redirect to the client with the internal IP address of the pool member? Would that even work? Are you using internet routable IP addresses internally?
Perhaps what you're looking for is to do an HTTP::redirect to a domain/IP that points to a VIP, with that pool as a resource?
Colin - thornade_91981
Nimbostratus
Yes, my pool is composed of public IP addresses (internet routable IP).
I have a public VIP hosted on my loadbalancer. I use a pool to do health check on servers hosted somewhere else on Internet. And I want to redirect my clients to available server from that pool using round robin method.
Thorn
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
