+

Search Tips   |   Advanced Search

Administer proxy rule expressions

We can administer proxy rule expressions to make proxy actions more granular in scope. Proxy rule expressions are configurations assigned to a proxy virtual host.

A proxy rule expression consists of operands and operators 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.

  1. From the console, select Servers > Server Types > WebSphere proxy servers > proxy_server_name > Proxy Virtual Host Configuration > Proxy rule expressions.

  2. Click New to create a new proxy rule expression. To administer an existing proxy rule expression, Click rule_expression_name.

  3. Specify the name for the rule expression.

  4. Click Subexpression builder to add an expression. We 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 the expression, repeat these steps for each subexpression to create.

    1. 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.

    2. From the Select operand menu, choose an operand.

    3. From the Operator menu, choose an operator.

    4. 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.

    5. Click Generate subexpression to add the new expression to the Subexpressions list.

    6. Click OK.

  5. Enable a proxy action for the proxy rule expression. We can enable multiple proxy actions. All the enabled proxy actions will be performed when the proxy rule expression evaluates to true.

  6. Optional: If the a proxy action needs to be modified, select that proxy action, and click Edit.

  7. 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 specified, ensure that the order of the proxy actions in the list corresponds to the order they must be performed.

  8. Click OK.


Subtopics