Forum Discussion
1000blocks
Nimbostratus
Mar 07, 2017Applying lowercase iRule to HTTPS virtual server?
Hi,
For SEO reasons, I need to apply force all HTTP requests to my site to be lowercase.
The Big-IP configuration for the site is a HTTP virtual server and a HTTPS virtual server (with a cl...
Stanislas_Piro2
Cumulonimbus
Mar 08, 2017Hi,
To redirect only when string is not lower case, you can use the condition
if {[ set uri [string tolower [HTTP::uri]]] ne [HTTP::uri]} {
HTTP::respond 301 noserver Location $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
