Forum Discussion
cjones_01_13155
Nimbostratus
Jun 12, 2014Lowercase URI
Below I have the current rule setup:
when HTTP_REQUEST {
Check for capital letters in string
if {[string match {[A-Z]} [HTTP::path]]}{
HTTP::redirect "http://[HTTP::host][string tolower [H...
cjones_01_13155
Nimbostratus
Jun 12, 2014This is the only rule I seem to be able to get to work. But it captures more than the .aspx pages. Its doing a 302 for other gets: See below example:
http://stg.sp10.shrm.org/_layouts/1033/ie55up.debug.js?rev=alivXRlfIa6edBLd7Zyixw%3D%3D
when HTTP_REQUEST {
Check if the URI has any capitalized letters if {[string match {[A-Z]} [HTTP::uri]]}{ HTTP::redirect "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