Nortel Networks 212777 Network Router User Manual


 
Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching
399
212777-A, February 2002
4. Define the string(s) to be used for Web cache SLB. Refer to the parameters listed below:
n add: Add a 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:
Example 1: String Starting with the Forwardslash (/)
A string that starts with a forwardslash ( / ), 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 Forwardslash (/)
A string that does not start out with a forwardslash ( / ) 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 Forwardslash (/) 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>