Forum Discussion
KJ_50941
Nimbostratus
Sep 21, 2015iRules when pool member is down
I used below irule so if both pool members failed then F5 iRule due redirect to another page which is hosting on another server.
when HTTP_REQUEST {
if { [active_members My_APACHE_SAT_8443_Pool ...
KJ_50941
Nimbostratus
Sep 21, 2015Thx
I combine both irules, but I am getting syntax error ( maintenance_and_redirect:4: error: [missing a script after "else"][]), below is combine irule.
when HTTP_REQUEST { if { [active_members My_APACHE_SAT_8443_Pool ] < 1 } { HTTP::redirect "http:// http://example-test.com/} {
} else if { [HTTP::uri] eq "/" } { HTTP::redirect https://[HTTP::host]/help/html } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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