Forum Discussion
Karl_106887
Nimbostratus
Jan 12, 2010tolower 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
Jan 12, 2010Hi 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
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