Globally binding URL transformation policies
To bind a URL transformation policy by using the NetScaler command line
-
bind transform global <policyName> <priority> -
show transform global
> bind transform global polisearching 100
Done
> show transform global
1) Policy Name: polisearching
Priority: 100
Done
To bind a URL transformation policy by using the configuration utility
-
In the navigation pane, expand Rewrite, then expand URL Transformation, and then click **Policies.
-
In the details pane, click Policy Manager.
-
In the Transform Policy Manager dialog box, choose the bind point to which you want to bind the policy**. The choices are:
-
Override Global. Policies that are bound to this bind point process all traffic from all interfaces on the NetScaler appliance, and are applied before any other policies.
-
LB Virtual Server. Policies that are bound to a load balancing virtual server are applied only to traffic that is processed by that load balancing virtual server, and are applied before any Default Global policies. After selecting LB Virtual Server, you must also select the specific load balancing virtual server to which you want to bind this policy.
-
CS Virtual Server. Policies that are bound to a content switching virtual server are applied only to traffic that is processed by that content switching virtual server, and are applied before any Default Global policies. After selecting CS Virtual Server, you must also select the specific content switching virtual server to which you want to bind this policy.
-
Default Global. Policies that are bound to this bind point process all traffic from all interfaces on the NetScaler appliance.
-
Policy Label. Policies that are bound to a policy label process traffic that the policy label routes to them. The policy label controls the order in which policies are applied to this traffic.
-
-
Select Insert Policy to insert a new row and display a drop-down list with all available, unbound URL transformation policies.
-
Select the policy you want to bind, or select New Policy to create a new policy. The policy that you selected or created is inserted into the list of globally bound URL transformation policies.
-
Make any additional adjustments to the binding.
-
To modify the policy priority, click the field to enable it, and then type a new priority. You can also select Regenerate Priorities to renumber the priorities evenly.
-
To modify the policy expression, double click that field to open the Configure Transform Policy dialog box, where you can edit the policy expression.
-
To set the Goto Expression, double click field in the Goto Expression column heading to display the drop-down list, where you can choose an expression.
-
To set the Invoke option, double click field in the Invoke column heading to display the drop-down list, where you can choose an expression.
-
-
Repeat steps 3 through 6 to add any additional URL transformation policies you want to globally bind.
-
Click OK to save your changes. A message appears in the status bar, stating that the Policy has been configured successfully.