This screen shows rules that have been configured and gives the option to Modify or Delete.

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 the Create New button. You must give the rule a name.

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 you select. The available rules are as follows:

Rule Types:

  • Content Matching: matches the content of the header or body
  • Add Header: adds a header according to the rule
  • Delete Header: deletes the header according to the rule
  • Replace Header: replaces the header according to the rule
  • Modify URL: changes the URL according to the rule
  • Replace String in Response Body: replaces text in the body according to the rule

For further information on configuring rules, please refer to the Content Rules Feature Description document.