Forum Discussion
Tharun_91512
May 23, 2012Nimbostratus
HTTP 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
May 24, 2012Cirrocumulus
Tharun
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
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