The following is a URL handling iRule that is kind of generic where the mapping between the URL and the nodes is done externally through the Data Group List for safe maintenance during operation. The code is also published on F5 Dev Central at: https://devcentral.f5.com/Wiki/iRules.URL_Based_redirection_iRule.ashx iRule code: when HTTP_REQUEST { # You need to set a …