Forum Discussion
Les_Marstaeller
Nimbostratus
Feb 08, 2006Case insensitivity in HTTP::uri
Hi,
I had the following irule that was deciding the pool to direct HTTP requests to the appropriate pool:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ab...
JRahm
Admin
Feb 08, 2006Try this instead:
when HTTP_REQUEST {
if { [ string tolower [HTTP::uri] ] starts_with "/abc" } {
use pool abc
} elseif { [ string tolower [HTTP::uri] ] starts_with "/def" } {
use pool def
} elseif { [ string tolower [HTTP::uri] ] starts_with "/ghi" } {
use pool ghi
}
}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
