Redirect URL based on HOSTNAME using Responder Policy

To Configure on CLI:

Responder Action and Policy:

>add responder action Redirect-Action redirect “\””” -responseStatusCode 302

>add responder policy Redirect-Policy “HTTP.REQ.HOSTNAME.CONTAINS(\”test\”)” Redirect-Action

Binding to LB Virtual Server:

>bind lb vserver Test_VIP -policyName Redirect-Policy -priority 100 -gotoPriorityExpression END -type REQUES

Author: mrterdl

Leave a Reply

Your email address will not be published. Required fields are marked *