Rewrite
The rewrite feature is a very useful feature when Citrix NetScaler is used to publish HTTP/SSL or TCP information. This feature can be used for request or response traffic. Rewrite is very useful for hiding/removing configurations, appending the default page, custom HTTP errors, hiding HTTP headers, and so on.
The working of the rewrite feature
The rewrite feature requires a rule and an action to perform the required tasks. The rule is used to identify whether the rule needs to be applied. The configured action will perform the actual action—what we like to rewrite. It's possible to bind multiple rewrite policies on every bind point. Based on the priority, we can define what needs to be applied first if the rule matches the request.
The bind point could be at a global level or defined for a specific Citrix NetScaler load balancing or content switching virtual server.
The rewrite feature also has some default rewrites installed, and these can't be deleted.
The policies...