Nortel Networks WEB OS 212777 User Manual

Page 377

Advertising
background image

Web OS 10.0 Application Guide

Chapter 15: Content Intelligent Switching

n

377

212777-A, February 2002

2.

Define the string(s) to be used for URL load balancing.

n

add

: Add string or a path.

n

rem

: Remove string or a path.

A default string “

any

” indicates that the particular server can handle all URL or Web-cache

requests. Refer to the following examples given below:

Example 1: String with the Forward Slash (/)

A string that starts with a forward slash (

/

), such as “

/images

,” indicates that the server

will process requests that start out with the “

/images

” string only.

For example, with the “

/images

” string, the server will handle these requests:

/images/product/b.gif

/images/company/a.gif

/images/testing/c.jpg

The server will not handle these requests:

/company/images/b.gif

/product/images/c.gif

/testing/images/a.gif

Example 2: String without the Forward Slash (/)

A string that does not start out with a forward slash ( / ) indicates that the server will process
any requests that contain the defined string. For example, with the “

images

” string, the server

will process these requests:

/images/product/b.gif

/images/company/a.gif

/images/testing/c.jpg

/company/images/b.gif

/product/images/c.gif

/testing/images/a.gif

Example 3: String with the Forward Slash (/) Only

If a server is configured with the load balance string ( / ) only, it will only handle requests to
the root directory. For example, the server will handle any files in the

root

directory:

/

/index.htm

/default.asp

/index.shtm

>> # /cfg/slb/layer7/slb/add|rem <

string

>

Advertising