book
Article ID: CTX296509
calendar_today
Updated On:
Description
This article will help you to configure a redirect policy to properly use different URL appends to reach the same site.
Instructions
1. Enable the NetScaler Feature Responder:
enable ns feature RESPONDER
2. Create a Responder Action with type as Redirect including the redirect path in the expression:
add responder action Redirect_Action redirect "\"https://www.example.com/append1/append2/\""
3. Create the Responder Policy that will be intercepted by the NetScaler and will then redirect the user request:
add responder policy redirect_policy "HTTP.REQ.URL.PATH_AND_QUERY.EQ(\"/Desired_Append/\")" Redirect_Action
4. Bind the Responder Policy to the virtual server
bind lb vserver http -policyName redirect_policy -priority 100 -gotoPriorityExpression END -type REQUEST