Forum Discussion
Cody_Conklin_17
Nimbostratus
Aug 11, 2005iRule 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...
hoolio
Cirrostratus
Aug 04, 2009It's close, but not exactly in 9.x format. You can use:
when HTTP_REQUEST {
Check if requested URI starts with an allowed URI
if {[matchclass [string tolower [HTTP::uri]] starts_with $::allowed_uris]}{
if { [active_members ECS-Pool] >= 1 } {
pool ECS-Pool
} else {
Take some action?
}
} else {
Take some action?
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
