Forum Discussion
URL redirect
Hi,
would like to configure to have traffic redirected from to when all health checks from the following servers have failed at the same time:
VIP: WEB_SERVERS Members "servers": WEB1 WEB2, WEB3, WEB4, WEB5, WEB6
Thanks
2 Replies
- Vijay_E
Cirrus
You need something like this (untested):
when HTTP_REQUEST { if { [active_members WEB_POOL] < 1 } { HTTP::respond 301 Location "http://www.test2.com" } }WEB_POOL has the pool members with monitors.
- itsd2001_261164
Nimbostratus
Thanks Guys. The client want to re-direct "deferral page" to two specific web sites "cweb1 and cweb2" when all heath check failed. I did this for one server cweb1:
when HTTP_REQUEST { if { [active_members [LB::server pool]] == 0 } { HTTP::redirect "; } }
- Is my irule syntax OK
- How to add cweb2 in irule ?
Thanks
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