Forum Discussion
Karl_106887
Nimbostratus
16 years agotolower and URI redirect
Any assistance appreciated. I have a redirect that is currently working similar to below. We do not have any control of URL case and will need to integrate a “tolower” scenario into this and looking...
The_Bhattman
Nimbostratus
16 years agoHi Karl,
Here you go
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/network/siteone*" {
pool Pool_One
}
"/network/sitetwo*" {
pool Pool_Two
}
"/network/sitethree*" {
pool Pool_Three
}
}
}
Bhattman
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