Forum Discussion
Cody_Conklin_17
Nimbostratus
20 years agoiRule variable match is case sensitive
I have an iRule that behaves normally:
if (http_uri starts_with "/authentication") {
use pool IIS_Pool_80
}
else if (http_uri starts_with "/certapp") {
use pool IIS...
Christopher_Ach
Nimbostratus
16 years agoHi
I want to use this piece of code above
class allowed_uris {
"/certapp"
"/authentication"
"/lms"
}
rule r1 {
if(tolower(http_uri) starts_with one of allowed_uris) {
use pool IIS_Pool_80
} else {
use pool beta.pmi.org
}
}
but im wondering if I need to have a WHEN statement above it that says
when HTTP_REQUEST {
}
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