You can administer proxy rule expressions to make proxy
actions more granular in scope. Proxy rule expressions are configurations
assigned to a proxy virtual host.
About this task
A proxy rule expression consists of operands and operators
that are defined by an administrator. When an expression evaluates
to true, the proxy action rules associated with that proxy rule expression
are performed.
Complete these steps to create a new proxy rule
expression or to administer an existing proxy rule expression.
Procedure
- From the administrative console, select proxy_server_name.
- Click New to create a new proxy
rule expression. To administer an existing proxy rule expression,
Click rule_expression_name.
- Specify the name for the rule expression.
- Click Subexpression builder to add
an expression.
You can also create the expression by entering
the expression manually. The Subexpression builder is only designed
to generate a subset of the available options when creating an expression.
For example the Subexpression builder does not allow the usage of
parenthesis in an expression. If a complex expression is needed, then
type the expression into the field instead of using the Subexpression
builder. For some examples of valid expressions, see
Proxy rule expressions. To use the Subexpression
builder to create your expression, repeat these steps for each subexpression
that you want to create.
- From the Logical operator menu,
choose a logical operator.
If this the first subexpression
in this field, then the logical operator will be removed when it is
generated.
- From the Select operand menu,
choose an operand.
- From the Operator menu, choose
an operator.
- From the Select <operand_name> menu, choose the name of the operand to be used.
The name and available selections for this menu is dependant
on the operand specified in step b. For example, if you selected cell in step b, then the name of this menu will Select cell and the menu will list the available cells
as menu options.
- Click Generate subexpression to
add the new expression to the Subexpressions list.
- Click OK.
- Enable a proxy action for the proxy rule expression. You
can enable multiple proxy actions. All the enabled proxy actions will
be performed when the proxy rule expression evaluates to true.
- Optional: If the a proxy action needs to be
modified, select that proxy action, and click Edit.
- Optional: Move a proxy action up or down in
the list to change the order in which the proxy actions will be performed.
If the sequence the proxy actions are performed is important
for the rules you specified, ensure that the order of the proxy actions
in the list corresponds to the order they must be performed.
- Click OK.