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

Vitaliy_Savrans's avatar
Dec 11, 2013

irules issue with https redirect

When trying to redirect from http to https by using irule _sys_https_redirect:

      when HTTP_REQUEST {
   HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}

got an error "The page isn't redirecting properly" ERR_TOO_MANY_REDIRECTS. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

2 Replies

  • Richard__Harlan's avatar
    Richard__Harlan
    Historic F5 Account

    Check the location that the browser is being redirected too and make sure it is not causing a redirect loop. From what you are saying it not the iRule itself just the location it pointing too is putting it in a loop causing the browser to get redirected again and again to the same spot.

     

  • Hi Vitaliy,

     

    I had the similar issue, make sure that you apply this on HTTP virtual server. If you apply this on a HTTPS virtual server then you may get this kind of loop.

     

    Os