Forum Discussion
adharkrader
Nimbostratus
Aug 02, 2010Fallback: which VS failed?
Since we were originally a Cisco shop, have a "sorry server" for all failed applications. In the Cisco environment, you still appear to be at the hostname you intended, so it's easy for the sorry page to be app-specific.
Since the F5 fallback is a redirect, how can I reproduce that app-specificity? I'd like to do it in a generic way from my parent profile, like changing the fallback host to } or ] or some such dynamic replacement, rather than tweaking the fallback host for every VS.
Anybody done anything like that? Some other method I'm overlooking?
Thanks - Al
13 Replies
- hoolio
Cirrostratus
"They" is the browser not LTM. The client's user-agent is responsible for setting the Referer header. It's also optional according to RFC2616. I'd have thought most user agents would set the Referer header to the value of the last request though. - adharkrader
Nimbostratus
Right you are, it looks like the browser is totally responsible for referer... I had seen code setting it on redirects, but it looks like the typical browser doesn't send it on to the redirected site.
- Hamish
Cirrocumulus
What about an iRule using LB_FAILED event and using that to send an HTTP redirect?when LB_FAILED { HTTP::redirect "whereever?withparameters=whatever&you=like" }
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