Forum Discussion

shopkeeper56_23's avatar
shopkeeper56_23
Icon for Cirrostratus rankCirrostratus
Jul 19, 2016

Landing URI iRule HTTP redirection

Hi all, I'm working on a small iRule be executed if a user has tried to hit the root uri for a remote access site I am setting up (eg. http://host.co.uk/). The expected behaviour is, if someone hit...
  • shopkeeper56_23's avatar
    Jul 20, 2016

    Managed to solve the issue without the iRule or Variable assignment to session.server.landinguri.

     

    All I needed to do was created a Redirect ending and it performs the redirect to the beginning of the policy with the desired uri appended to the end and closes the existing session.

     

    Perfect!