Forum Discussion
Christopher_Boo
Jun 05, 2012Cirrostratus
Need help combining 2 irules
I'm not much of a scripter but I usually figure it out of I stare at it long enough. I'm trying to combine the 2 irules below. I'd like to insert irule 2 at the end of irule 1. The idea is to allow...
Christopher_Boo
Jun 05, 2012Cirrostratus
I'm now down to 1 error.
error: line 10: [undefined procedure: else] [else]
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/pss-alerts*" -
"/pss-forms*" -
"/pss-reports*" -
"/pss-messaging*" {
pool rec.utt.pool
} elseif { [class match [IP::client_addr] equals api.network.list] } {
pool api.utt.pool
} else {
discard
}
}
}
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