68
Copyright © 2000 - 2005 KEMP Technologies, Inc. All Rights Reserved.
2.5. Add Rule
This contains a summary list of rules assigned to the real server in question. Add a rule by selecting it from
the pull-down list and clicking “Add”, remove a rule by using the delete button.
See chapter IE.1.
2.6. Rule Precedence
This contains a summary list of rules assigned to the Virtual Service in question. A rule may be promoted in
the order of precedence by clicking its corresponding “Promote” button.
3. Global Settings
3.1. Content Rule Management
To define a new rule, click on "Create New". You must give the rule a name.
Hint: Rule names must be alphanumeric and start with a character.
Note, however, that rule names are unique and case sensitive, which means that giving a rule an existing
name will overwrite the rule of that name, and also that two different rules can exist in the form "Rule1" or
"rule1".
Next, decide the type of rule this will be: Prefix, Postfix or Regular Expression. These match to the URL as
follows:
/absolute/pathname/of/the/url/foo.html
|-> Prefix
Postfix ->|
|->
Regular Expression ->|
With the "Include host in URL" checkbox checked, the host name is also included in the URL match string:
www.a-host.com/absolute/pathname/of/the/url/foo.html
|-> Prefix
Postfix ->|
|->
Regular
Expression
->|
The protocol definition (e.g. http://) is ignored in all cases. Finally, enter the string that is to be matched.
Prefix and Postfix use standard strings and match exactly to what is entered. Regular Expression uses the
following syntax:
? - Match any single character
* - Match zero or more characters
$ - End of line
^ - Start of line
[ - Start of set, of which only one character will be matched. Must be terminated by ]
^ At start of a set matches a character not in the set.
\ - Escapes the next character
3.2. Service Health Check Parameters
For further information on Health Checking please refer to chapter Kin the Installation Guide.
3.2.1. Check Interval
With this field you can specify the number of seconds that will pass between consecutive checks. The
recommended value is 7 seconds.