Exclusionary string matching for real servers, Configuring for exclusionary url string matching, Exclusionary string matching for real servers 410 – Nortel Networks WEB OS 212777 User Manual

Page 410

Advertising
background image

Web OS 10.0 Application Guide

410

n

Chapter 15: Content Intelligent Switching

212777-A, February 2002

Exclusionary String Matching for Real
Servers

URL-based SLB and WCR can match or exclude up to 128 strings. Examples of strings are as
follows:

n

“/product,” matches URLs that starts with /product.

n

“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.

Web OS 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.

N

OTE

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 exclu-
sionary feature is enabled per server, not per string.

For example, the following strings are assigned to a real server:

string 1 = cgi
string 2 = NOT cgi/form_A
string 3 = NOT cgi/form_B

As a result, all cgi scripts are matched except form_A and form_B.

Configuring for Exclusionary URL String Matching

This configuration example shows you how to configure a server to handle any requests except
requests that contain the string “test” or requests that start with “/images” or “/product”.

To configure exclusionary URL string matching, perform the following procedure:

1.

Before you can configure URL string matching, ensure that the switch has already been
configured for basic SLB:

n

Assign an IP address to each of the real servers in the server pool.

n

Define an IP interface on the switch.

n

Define each real server.

n

Assign servers to real server groups.

n

Define virtual servers and services.

n

Enable SLB.

Advertising