Proxy rule expressions collection
Use this page to administer proxy rule expressions for the proxy server. Proxy rule expressions allow you to make configuration rules more granular in scope by specifying information within the rule. A proxy rule expression is associated with a virtual proxy host and 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. To view this console page, click Servers > Server Types > WebSphere proxy servers >server_name > Proxy Virtual Host Configuration > Proxy rule expressions.
Expression name
User-defined symbolic name for a proxy rule expression.
An expression name must be unique and cannot contain an invalid character. The name field cannot contain the following characters: # \ / , : ; " * ? < > | = + & % '.
Expression
Expression that is evaluated when an inbound request is made to the proxy virtual host.
An expression evaluates to true or false and consists of operands and operators. Expressions can be entered manually on the Proxy rule expressions settings page. The Subexpression builder can also be used on that page to generate the expressions.
expression operands.
This table lists the rule expression operands.
Operands Description Cell Cell containing the back end server to which the request is mapped. Application Specifies the Java EE application that a given request maps to on the back end server. Module Specifies the Java EE application module to which a given request is mapped. URI Specifies the URI for an inbound request. URIgroup Specifies a group of URIs to match against the URI. If the inbound request is in the URI group, then the expression evaluates to true.
Proxy actions
Proxy actions configured for the rule expression. Proxy actions are performed when the proxy rule expression evaluates to true.
We can configure the following proxy actions for a proxy rule expression:
- header actions
- caching action
- compression actions
- rewriting actions
- routing actions
Related concepts
Proxy server actions Proxy virtual hosts
Proxy rule expression settings