For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

spalande's avatar
spalande
Icon for Nacreous rankNacreous
Jun 16, 2020

iRule assistance

Is it possible to use iRule to have redirect for following requirement?

 

https://*.abc.com ---> https://*.xyz.com

where * can be any name and should be retain in redirecting to xyz.com

 

Ex. https://education.abc.com ----> https://education.xyz.com

https://review.abc.com ---> https://review.xyz.com

 

1 Reply

  • Try below irule which will solve redirection issue.

    when HTTP_REQUEST {
      HTTP::redirect "https://[string tolower [getfield [HTTP::host] "." 1].xyz.com"
    }