Product Documentation

Enabling the Rewrite Feature

Aug 31, 2016
Enable the rewrite feature on the NetScaler appliance if you want to rewrite the HTTP or TCP requests or responses. If the feature is enabled, NetScaler 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 
 . 
 . 
 . 
 19)    Rewrite                        REWRITE              ON 
 . 
 . 
 24)    NetScaler 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.