Forum Discussion
Tharun_91512
Nimbostratus
May 23, 2012HTTP redirection when one server selected
There is a pool with 2 nodes in it. If the client is connecting to the first node then it should be served normally, but if client is connected to the second server then client should be redirected t...
nathe
Cirrocumulus
May 24, 2012Tharun
Do you need the redirect to go to the actual ip address or can the existing host just be used but adding the URI you mention above?
when HTTP_REQUEST {
Once pool member has been selected check if it's x.x.x.x
if { [IP::addr [LB::server addr] equals x.x.x.x] } {
HTTP::uri "/index.html"
}
}
Rgds
N
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