Forum Discussion
F5_Freek_243545
Nimbostratus
Jun 27, 2017URL 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
}
}
- P_K
Altostratus
Hashtags are a fragment of the query portion of the URI.
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