Forum Discussion
jonathanw84
Cirrus
Aug 23, 2021iRule to Shift Entire URL Path to Lower Case
I have the following iRule in place for one of our virtual servers. Everything is working well, except some requests to the backend servers are case sensitive and need the entire path to be lowercase...
oguzy
Cirrostratus
Aug 23, 2021Hi,
You can try the below one:
when HTTP_REQUEST {
if { [HTTP::uri] ne [string tolower [HTTP::uri]] } {
HTTP::respond 301 noserver Location http://[HTTP::host][string tolower [HTTP::uri]]
}
}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
