Forum Discussion
nyamuthulla_sha
Nimbostratus
Feb 09, 2018urgent --> Irule with uri and available pool members is not acceptting due to syntax error
Hi All, I need a help in fixing the syntax in below irule.
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/TEST" } { if { (active_members POOL-2 == 0) {
HTTP::respond 404
} else { HTTP::respond 200 } } } }
- FMA_199355
Nimbostratus
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/TEST" } { if { ([active_members POOL-2] == 0) } { HTTP::respond 404 } else { HTTP::respond 200 } } }
- nyamuthulla_sha
Nimbostratus
worked..! Tq for the quick responce.
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