F5Hopper_28651
Sep 20, 2012Nimbostratus
string tolower? and HTTPS redirects
I have a few rules like this..
when HTTP_REQUEST {
if { [HTTP::uri] eq "/Recovery.aspx" } {
HTTP::redirect "https://qa.www.google.com/Recovery.aspx"
}
}
when HTTP_REQUEST {
if { [HTTP::uri] eq "/Signup.aspx" } {
HTTP::redirect "https://qa.www.google.com/Signup.aspx"
}
}
my issue is if I use a string tolower command it doesnt redirect to https://, Im trying to make it so the users changes the URL to /signup.aspx that it also redirects to HTTPS://
my other question is can I group these rules together?
Thanks