waf url-rewrite url-rewrite-policy
Use this command to group URL rewrite rules.
Before you can configure a URL rewrite group, you must first configure any URL rewriting rules that you want to include. For details, see waf url-rewrite url-rewrite-rule.
To apply a URL rewriting group, select it in an inline protection profile. For details, see waf web-protection-profile inline-protection.
To use this command, your administrator account’s access control profile must have either w
or rw
permission to the wafgrp
area. For details, see Permissions.
Syntax
config waf url-rewrite url-rewrite-policy
edit "<url-rewrite-group_name>"
config rule
edit <entry_index>
set url-rewrite-rule-name "<url-rewrite-rule_name>"
next
end
next
end
Variable | Description | Default |
Enter the name of the URL rewriting rule group. The maximum length is 63 characters. To display the list of existing group, enter:
|
No default. | |
Enter the index number of the individual entry in the table. The valid range is 1–9,999,999,999,999,999,999. | No default. | |
Enter the name of an existing URL rewriting rule that you want to include in the group. The maximum length is 63 characters. | No default. |