Forum Discussion
cymru81
Sep 27, 2023Altocumulus
maintenance page irule
Hi, id like to force all traffic to hit a maintenance page irule regardless of pool member status, i have the following but how can i write this without the "if" so it will disaply everytime? when...
Samir
Sep 27, 2023MVP
The if command evaluates active_members [LB::server pool] as an expression (in the same way that expr evaluates its argument). The value of the expression must be a boolean (a numeric value, where 0 is false and anything is true, or a string value such as true or yes for true and false or no for false); if it is true then body1 is executed by passing it to the Tcl interpreter. Otherwise expr2 is evaluated as an expression and if it is true then body2 is executed, and so on.
Without if i don't granular options available.
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