Forum Discussion

Tyron_Fourie_18's avatar
Oct 29, 2015

Redirect URL

Hi,   I am looking to redirect http://www.examplesite.com/Examplepage.html to an external site like http://www.externalsite.com/   As I understand it there are multiple ways to do this so I hav...
  • Karthik_Krishn1's avatar
    Oct 30, 2015

    I had a similar situation. What i did was: * create a pool with no active members * create a VS and assign this pool to it * create an irule which looked at the of active members in the pool and if is 0 then redirect to external URL The irule is as below:

     

    when HTTP_REQUEST { if { [active_members TS-EmptyPool] == 0 }{ HTTP::redirect "https://www.surveymonkey.com/s/eg.survey" } }

     

    karthik