Forum Discussion
nitass
Feb 13, 2012Employee
How to use it in web console....?oh sorry i just noticed i forgot to post the irule.
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
HTTP::redirect "http://dev-sorry-webarch.xyz.com"
}
}
to create irule, go to local traffic > irules > irule list, create and copy-and-paste the irule above.
to assign irule to virtual server, go to local traffic > virtual servers > virtual-server-name > resource (2nd tab) > irules, manages and enable the created irule.
hope this helps.