response-rule

This command assigns a response rule to a processing policy.

Syntax

response-rule rule

Parameters

rule
Specifies the name of a matching rule.

Guidelines

The response-rule command defines a request rule. A response rule requires a matching rule. A response rule is applied to server-originated traffic only.

Create the matching rule with the matching command and populated it with the httpmatch or urlmatch commands. The matching rule serves as a source of URL or HTTP templates. Candidate documents that match any of the templates in the matching rule can be processed.

Example

Add the responseMatch response rule.
# response-rule responseMatch