Command Line Interface Reference Guide > The SLB Configuration Menu
/cfg/slb/accel/compress/urllist/rule <rule_number>
Compression URL Rule-list Menu
URL compression exceptions rules are based on an object’s URL (file/folder). A rule can be added, removed, or copied. The rules are evaluated according to their priority, with the lowest number getting evaluated first. The maximum number of rules in a rule list is 512.
After a rule is matched and acted upon, the remaining rules in the list are not evaluated for that object. Rules display in numerical order.
Tip: Radware recommends that you leave a gap between rule numbers that you create so you can easily place future rules within the current hierarchy. For example, create rules 1, 5, and 10 in the event that new rule 3 should be placed between rules 1 and 5, or new rule 7 should be placed between rules 5 and 10.
 
[Compression URL Rule-list Rulelist1 Rule 1 Menu]
name - Set rule name
domainm - Set domain matching method
domain - Set domain to be matched by this rule
urlm - Set URL matching method
url - Set URL to be matched by this rule
compress - Enable/Disable compression
copy - Copy rule
ena - Enable rule
dis - Disable rule
del - Delete rule
cur - Display current rule configuration
 
Compression URL Rule-list Menu 
Command Syntax and Usage
name
 
The name of the rule that displays in the rule list.
Values: 0 – 31 characters
domainm
 
Determines how domain matching should be evaluated.
Note: Simple wildcards, such as question marks and asterisks are not considered regex and will not result in the desired behavior. The regex match for the simple wildcard asterisk (*) is dot-asterisk (.*)
Values: text, regexp, any (any domain)
Default: any
domain
 
Optionally defines the domain matching configuration (the virtual host) for which this rule applies. Use this parameter only when the domain matching method is not set to any.
Example: company.com
urlm
 
Determines how URL matching should be evaluated.
Note: Simple wildcards, such as question marks and asterisks are not considered regex and will not result in the desired behavior. The regex match for the simple wildcard asterisk (*) is dot-asterisk (.*)
Values: text, regexp, any (any URL)
Default: any
url
 
Determines the URL of the specific object (file/folder) to be matched by this rule. Use this field only when the URL matching method is not any. The URL can be full or partial according to the level of granularity required by the configuration.
Example: \Radware recommends\user\documents
compress
 
Alternately enables or disables compression as the rule action.
*enabled — The matched response is compressed.
*disabled — The matched response is not compressed.
Default: disabled
copy
 
Copies a rule to another rule number in the same rule list. This can also change the priority of a rule.
ena
 
When you configure the URL exception rule list, it is disabled by default. For the rule to be operational, you must first enable and apply it.
dis
 
Disables a rule to make it non-operational.
del
 
Deletes this rule.
cur
 
Displays the current rule configuration.