Forum Discussion
Tyron_Fourie_18
Oct 29, 2015Cirrus
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...
- 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
johtte_168100
Oct 30, 2015Nimbostratus
if you want to redirect to two diffent pools based on path? How the irule change?
Thanks for your help
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects