Forum Discussion
Song_chi_woon_2
Nimbostratus
May 16, 2007special web page redirection
Hi
I want to make a new page (ie.iRule) which will stop accessing from outside in case web pages are down due to an expected obstacle.
For example, www.abc.com , www.abc1.com , abc2.com have problems, I want to make a rule to use www.test.com by redirection.
1 Reply
Sort By
- Colin_Walker_12Historic F5 AccountWhile you can't check external websites or URLs, you can absolutely make use of the monitor status of the pools on your BIG-IP. So, assuming that abc.com, abc1.com and abc2.com are in a pool (either the same pool or individual pools), you could check to see if those nodes are marked up by your monitors, and direct traffic accordingly.
when HTTP_REQUEST { if { [active_members abcPool] > 0 } { pool abcPool } else { HTTP::redirect "http://www.test.com" } }
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