Deployment map role rewrites

Deployment map role-specific rewrites, $/, $&#x7c;
As of the MS 8.0.2 release, it is possible to have rewrite rules whose application is dependent on the role of a host in the current deployment map.

Deployment map role rewrite checking is triggered by the presence of a   or   control sequence in the template part of a rule. The characters following the  or ,  up until either an at sign,  , percent sign,  ,  subsequent channel, domain, or TLD check, or an error message  , is should be of the form "   ", where   is a host name and   is a role pattern.

A   control sequence causes the rule to fail if the  host   is not in the deployment map or it&#x27;s role doesn&#x27;t match the role pattern  .     causes the rule to fail if the role pattern matches the host&#x27;s role in the deployment map.

Normally the   specification will itself be some sort of substitution, e.g.,  , or. The exact form will depend on the desired effect as well as the form of the rewrite rule pattern.

The role pattern can contain glob-style wildcards.

Multiple  and   clauses may be specified. If any one of multiple    clauses matches, the rule will succeed. If any of multiple  clauses matches, the rule will fail.

See also:
 * Rewrite rule template substitutions and control sequences