Forum Discussion
Tony_Drane_9358
Nimbostratus
Jul 27, 2006Expected Boolean Value Error
Hi- We're getting a TCL error when we try to apply an iRule to parse this URL- https://www..com/.usec/loads
Here is the iRule:
when HTTP_REQUEST {
if {[findstr [HTTP::uri] ".usec/*" 6] } {
pool upgrades_443
}
else {
pool SSL_Web
pool Web
}
}
The BigIP bounces an error that says 'expected boolean value but got "" ' We're new to the iRule game. Does anybody have any suggestions?
Thanks!
2 Replies
Sort By
- Deb_Allen_18Historic F5 AccountHi Tony -
You might also want to take a closer look at your "else" clause: The first of the 2 "pool" statements will never take effect, since the 2nd will override it. Pick one, or add another condition to split the remaining traffic between those pools.if { [HTTP::uri] contains "/.usec/" }{
- Tony_Drane_9358
Nimbostratus
Thanks for your help! We were able to get this to work.
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