Forum Discussion

tolinrome_13817's avatar
tolinrome_13817
Icon for Nimbostratus rankNimbostratus
Jul 17, 2014

Need to redirect to an external url

We want our users to be redirected to a secondary external url when they access the first url.   For example: When our users go to https://application.ourdomain.com (which points to our F5), I wan...
  • Prash_Bharadwaj's avatar
    Jul 17, 2014

    You may use this irule to do so.

     

    when HTTP_REQUEST { if { [HTTP::host] equals "https://application.ourdomain.com" } { HTTP::respond 301 Location "https://external.link.com" } }