Product Documentation

Enabling the rewrite feature

Enable the rewrite feature on the Citrix ADC appliance if you want to rewrite the HTTP or TCP requests or responses. If the feature is enabled, Citrix ADC takes rewrite action according to the specified policies. For more information, see How rewrite works.

To enable the rewrite feature by using the command line interface

At the command prompt, type the following commands to enable the rewrite feature and verify the configuration:

  • enable ns feature REWRITE
  • show ns feature

Example:

> enable ns feature REWRITE
 Done
> show ns feature

        Feature                        Acronym              Status
        -------                        -------              ------
 1)     Web Logging                    WL                   OFF
 2)     Surge Protection               SP                   ON
 .
 .
 .
 1)     Rewrite                        REWRITE              ON
 .
 .
 1)     Citrix ADC Push                 push                 OFF
 Done

To enable the rewrite feature by using the configuration utility

  1. <In the navigation pane, click System, and then click Settings.
  2. <In the details pane, under Modes and Features, click Configure basic features.
  3. <In the Configure Basic Features dialog box, select the Rewrite check box, and then click OK.
  4. <In the Enable/Disable Feature(s) dialog box, click Yes. A message appears in the status bar, stating that the selected feature was enabled.