Alteon Application Switch Operating System Application Guide
Content-Intelligent Server Load Balancing Not Using Layer 7 Content
Document ID: RDWR-ALOS-V2900_AG1302 811
2. Define the strings to be used for URL load balancing.
— addstr—Add string or a pattern.
— remstr—Remove string or a pattern.
A default string any indicates that the particular server can handle all URL or cache requests.
Refer to the following examples:
• Example 1: String with the Forward Slash (/), page 811
• Example 2: String without the Forward Slash (/), page 811
• Example 3: String with the Forward Slash (/) Only, page 811
Example 1: String with the Forward Slash (/)
A string that starts with a forward slash (/), such as "
/images," indicates that the server processes
requests that start out with the "
/images" string only.
The /images string allows the server to process these requests:
• /images/product/b.gif
• /images/company/a.gif
• /images/testing/c.jpg
This string would not allow the server to process these requests, however:
• /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 with a forward slash (/) indicates that the server will process any
requests that contain the defined string.
The images string allows the server to 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.
The server would process any request to items in the root directory such as the following:
• /
• /index.htm
• /default.asp
>> # /cfg/slb/layer7/slb/addstr | remstr <l7lkup | pattern>