How to Modify Body Content Using NetScaler Rewrite Policies

How to Modify Body Content Using NetScaler Rewrite Policies

book

Article ID: CTX204775

calendar_today

Updated On:

Description

This article describes how to modify the body content using NetScaler rewrite policies.


Instructions

Complete the following steps to modify body content using NetScaler rewrite policies:

  1. Create a rewrite action with a similar configuration as shown in the following screen shot. Navigate to AppExpert > Rewrite > Actions > Add.

    User-added image

  2. Create a rewrite policy with a similar configuration as shown in the following screenshot. Navigate to AppExpert > Rewrite > Policies > Add.

    User-added image
  3. Add the policy to the desired Load Balancing Virtual Server.
    Navigate to Traffic Management > Load Balancing > Virtual Servers > Edit the desired virtual server > Policies:

    • Choose Policy: Rewrite.
    • Choose Type: Response.
    • Add binding:
    • Select Policy: The recently created policy.
      • Priority: any value.
      • GoTo Expression: END
      • Invoke LabedType: None

        User-added image

Issue/Introduction

This article describes how to modify the body content using NetScaler rewrite policies.