switching policy defines a type of request that is to be directed to a load
balancing virtual server. These policies are applied in the order of the
priorities assigned to them or (if you are using NetScaler classic policies and
do not assign priorities when binding them) in the order in which the policies
The policies can
- Domain-based policies.
The NetScaler appliance compares the domain of an incoming URL with the domains
specified in the policies. The appliance then returns the most appropriate
content. Domain-based policies must be classic policies; default syntax
policies are not supported for this type of content switching policy.
- URL-based policies. The
appliance compares an incoming URL with the URLs specified in the policies. The
appliance then returns the most appropriate URL-based content, which is usually
the longest matching configured URL. URL-based policies must be classic
policies; default syntax policies are not supported for this type of content
The appliance compares incoming data to expressions specified in the policies.
You create rule-based policies by using either a classic expression or a
default syntax expression. Both classic and default syntax policies are
supported for rule-based content switching policies.
Note: A rule
based policy can be configured with an optional action. A policy with an action
can be bound to multiple virtual servers or policy labels.
If you set a
priority when binding your policies to the content switching virtual server,
the policies are evaluated in order of priority. If you do not set specific
priorities when binding your policies, the policies are evaluated in the order
in which they were created.
For information about NetScaler classic policies and
expressions, see "Configuring Classic
Policies and Expressions." For information about Default Syntax
policies, see "Configuring Default