Administering proxy rule expressions

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

  1. From the administrative 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. 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 support 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.
    1. From the Logical operator menu, choose a logical operator. If this is 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 type.
    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 lists 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. You can enable multiple proxy actions. All of the enabled proxy actions are be performed when the proxy rule expression evaluates to true.
  6. Optional: If 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 that the proxy actions are performed. If the sequence of 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 that they must be performed.
  8. Click OK.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 7:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-dist&topic=tjpx_rulexp
File name: tjpx_rulexp.html