Forum Discussion
LTM HTTP conditional (text check) re-direct
Given the circumstances above and assuming that the whole site would need redirection I would:
- Create an HTTP monitor with a receive disable string of TEXT1 leaving the other fields blank.
- Add this as an additional monitor to the pool.
Then either:
Create this irule and assign it to the vip.
when LB_FAILED {
HTTP::respond 302 Location "https://myuri"
}
Or use a fallback host in the HTTP profile of the vip (essentially the same thing).
Disclaimer:
I personally don't like using redirects as maintenance/sorry pages as it in most cases sends the user to a completely different service. Using uri rewrites would enable the users browser to stay on the same url which would make it possible for him/her to hit F5 to check whether the maintenance is lifted or not.
Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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