Forum Discussion
Dennis_Watson_2
Nimbostratus
Apr 21, 2008Redirect URL to pool member permanently
Hi folks,
I've read dozens of entries trying to find an example that would allow me to do a permanent redirect to the pool member once it was selected.
This may require more than one iRule t...
hoolio
Cirrostratus
Apr 21, 2008So you want the client to make the initial request to example.com which resolves to the VIP address and get an HTTP redirect to the selected node's IP address? If so, you could configure a standard VIP and pool and then add the following rule:
when LB_SELECTED {
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