Forum Discussion
koen_51858
May 05, 2010Nimbostratus
undefined procedure: else
Hi all.
Trying to create an irule that will allow only users from specific countries to access a specific webpage. Any other webpage from that pool however is free for the entire world to ac...
koen_51858
May 05, 2010Nimbostratus
Managed to find my own error. Solution here for reference.
Apparently the else-part of the if-statement cannot be on a new line. It needs to follow on the same line as the closing bracket of the else-part.
WRONG
if {
a=b
} then {
pool y
}
else {
pool x
}
CORRECT:
if {
a=b
} then {
pool y
} else {
pool x
}
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