Content Rules WUI Options
- Last Updated: August 5, 2025
- 3 minute read
- LoadMaster
- LoadMaster GA
- Documentation
The various fields associated with Content Rules in the LoadMaster WUI are described below.
The Content Rules screen displays the rules that have been configured and gives the option to ModifyDelete or Duplicate.
In LoadMaster firmware 7.2.52 and above, it is possible to Duplicate content rules. There is also an In Use column on the Content Rules page that indicates if the content rule is in use or not:
-
The star icon means the content rule is not assigned to any Virtual Services.
-
The tick icon means the content rule is assigned to at least one Virtual Service. The number of assigned Virtual Services is displayed next to the tick icon. Hover over the tick icon to get details about the Virtual Services this content rule is assigned to. The hover text only displays the first 20 assigned Virtual Services.
To define a new rule, click Create New.
The Rule Name must be alphanumeric, unique, and cannot contain spaces. Rules are case sensitive, thus two different rules can exist in the form of Rule1 and rule1. It is not possible to name a content rule default.
The options that are available depend on the Rule Type that is selected. The available rules are as follows:
- Content Matching: Matches the content of the URL, header or body of a request. For example, to rewrite requests for the root of a server, set the Content Matching rule type to match and send to a SubVS that is set to 301/302 (You can also use Modfiy URL rules to rewrite requests for the root of a server.)
- Add Header: Adds a header according to the rule. For example, to force connections to close, use an Add Header named Connection with the value set to close.
- Del Header: Deletes the header according to the rule and enables you to strip out server information
- Replace Header: Replaces the header according to the rule. For example, to rewrite redirects from HTTP to HTTPS, use the Replace Header rule type to rewrite the location header. To secure cookies, use the Replace Header rule type to replace/modify the contents of cookies that are set by the Real Server in the set-cookie header.
- Modify URL: Changes the URL according to the rule.
- Replace String in Response Body: Replaces text in the body according to the content in the rule.