Proxy rule expression settings
We can configure settings for a proxy rule expression. A proxy rule expression consists of operands and operators defined by an administrator. If a proxy rule expression evaluates to true, then all proxy actions configured for that rule expression are run. To view this console page, click Servers > Server Types > WebSphere proxy servers > > proxy_server_name > Proxy Virtual Host Configuration > Proxy rule expressions > expression_name.
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. We can create expressions manually by entering the text into this field, or we can use the Subexpression builder to generate a new expression.
Specify the following settings for the Subexpression builder. We can use the following operands in the expression:
rule expression operands.
Operands Description Cell Cell containing the 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
Specifies the proxy actions configured for the rule expression.
We can configure the following proxy actions for a proxy rule expression:
- header actions
- caching action
- compression actions
- rewriting actions
- routing actions
Click Edit to modify a proxy action from this panel. Click the arrows to include or exclude proxy actions. We can move a proxy action up or down in the list to determine when the proxy action is performed.
Related concepts
Proxy server actions Proxy virtual hosts
Related tasks
Proxy rule expressions
Proxy rule expressions collection