Document ID: RDWR-ALOS-V2900_AG1302
801
Appendix A – Layer 7 String Handling
This appendix describes how to create and manage the Layer 7 content used for configuring
content-intelligent load balancing and redirection features described throughout this user guide.
The following topics are discussed in this appendix:
•
Exclusionary String Matching for Real Servers, page 801
•
Regular Expression Matching, page 803
•
Content Precedence Lookup, page 804
•
String Case Insensitivity, page 807
•
Configurable HTTP Methods, page 807
Note:
For all content-intelligent load balancing features, enable Direct Access Mode (DAM) or
configure proxy IP addresses. For more information, see
Exclusionary String Matching for Real Servers
URL-based SLB and application redirection can match or exclude up to 128 strings. Examples of
strings are:
•
"/product"—Matches URLs that starts with /product.
•
"product"—Matches URLs that have the string "product" anywhere in the URL.
You can assign one or more strings to each real server. When more than one URL string is assigned
to a real server, requests matching any string are redirected to that real server. There is also a
special string known as any that matches all content.
Alteon also supports exclusionary string matching. Using this option, you can define a server to
accept any requests regardless of the URL, except requests with a specific string.
Note:
Once exclusionary string matching is enabled, clients cannot access the URL strings that are
added to that real server. This means you cannot configure a dedicated server to receive a certain
string and, at the same time, have it exclude other URL strings. The exclusionary feature is enabled
per server, not per string.
For example, the following strings are assigned to a real server:
As a result, all cgi scripts are matched except form_A and form_B.
string 1 = cgi
string 2 = NOT cgi/form_A
string 3 = NOT cgi/form_B