Forum Discussion
Puneet_73909
Nimbostratus
Dec 16, 2009LB_Failed redirection
We need the LB to look at its pool of webServers and if the primary pool members are down, then redirect the incoming requests to another webServer and obviously display what that webServer is returni...
hoolio
Cirrostratus
Dec 16, 2009So you want to replace whatever status code the new pool member sets with a 503?
HTTP::status (Click here) can only be used to get (not set) the status of the response. So to "change" the status you could need to send your own response using HTTP::respond (Click here) . It's fairly simple if you can send your own response content. Or if you need to leave the response data from the server intact, you'd need to collect the payload for the specific responses and then use HTTP::respond to send a 503 response with the original payload. You can check the HTTP::collect wiki page (Click here) for examples.
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