Forum Discussion

smilanko_261688's avatar
Jun 08, 2016

Edit the url before forwarding to an application

Here is a picture of my current access policy What I am trying to do is edit the http request uri to forward client requests to a particular uri, no matter on what uri they already selected....
  • Yann_Desmarest_'s avatar
    Jun 08, 2016

    Hi,

    You can reassign the redirect url variable like this with a variable block

    session.policy.result.redirect.url -> return "/cool/home"

    There is no need to use iRule event with ACCESS_POLICY_AGENT_EVENT