F5_Freek_243545
Jun 27, 2017Nimbostratus
URL redirection question
Hi all,
I have arequirement to redirect
https://mybook.honeybee.com//login
to https://myaccount.honeybee.com/login
. I am trying below irule but unfortunately it is not working. I think the function is creating the problem. Anyone faced same kind of issue before?
when HTTP_REQUEST {
if { ([HTTP::host] equals "mybook.honeybee.com") and ([HTTP::uri] starts_with "//login")} {
HTTP::respond 301 "Location" "https://myaccount.honeybee.com/login"
return
}
}