HTTPS URL REDIRECT

Hello! Can i do redirect to specifield url via HTTPS(SSL Cleint Profile on Virtual Server BIG-IP)? Example:

when HTTP_REQUEST { if { [HTTP::host] eq "; } { HTTP::redirect https://abc.com/Specifield } }

It works only with HTTP, not HTTPS.

This should work, however the HTTP::host will not contain ‘https://’ only the hostname/ip address and port number if it is a non-standard port.

when HTTP_REQUEST {
  if { [HTTP::host] equals"www.xyz.com"} {
    HTTP::redirect "http://www.abc.com/index.html"
  }
}

See this link for more information: