quattroginger
Sep 28, 2020Nimbostratus
irule redirect help
looking for some assistance with creating a irule to redirect on 2 parts of a url. If someone hits my f5 going to https://app123.mydomain111.com/pages/app123 I want them to be redirected to https://app456.mydomain111.com/pages/app789
can i just do...
when HTTP_REQUEST {
if { [HTTP::host] equals "app123.mydomain111.com " and [HTTP::uri] equals "/pages/app123" } {
HTTP::redirect "https://app456.mydomain111.com/pages/app789 "
}
}
will this work?