Forum Discussion

  • Richard__Harlan's avatar
    Richard__Harlan
    Historic F5 Account
    The iRule should be

     

     

    when HTTP_REQUEST {

     

    HTTP::redirect "https://hostA.domain.com"

     

    }

     

     

    The loop is caused by the webserver sending links that point to HTTP://hostA. You can set the HTTP profile to enable rewrite redirects. You can also update the application to pass links that are HTTPS.
  • Thanks Richard. Turns out I was entering the correct irule the whole time, the web developer gave me the wrong site to redirect to.