Forum Discussion
Jan 10, 2017
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