I am trying to force some letters in the URL to be uppercase. I have create the iRule but keep getting errors.
when HTTP_REQUEST { if { [HTTP::host] equals “test.xxxx.com” and [HTTP::uri] starts_with “/MyTest” } { pool pool_mytest.com--VIP247.100.TCP.443 } else { HTTP::redirect “https://test.xxx.com/MyTest/[HTTP::URI]” }
}
So what I need to do is, when anything called mytest comes in and in any format ie, mytest Mytest, mYtest, etc. I need to switch it to MyTest. Is that possible?
Thanks for any help in advance.
Matt