Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching 403
212777-A, February 2002
HTTP Header-Based Web Cache Redirection
To configure the switch for WCR based on the Host: header, use the following procedure:
1. Configure basic SLB.
Before you can configure header-based cache redirection, ensure that the switch has already
been configured for basic SLB (see Server Load Balancing on page 117)with the following
tasks:
nAssign an IP address to each of the real servers in the server pool.
nDefine an IP interface on the switch.
nDefine each real server.
nAssign servers to real server groups.
nDefine virtual servers and services.
2. Turn on URL parsing for the filter.
3. Enable header load balancing for the Host: header.
4. Define the host names.
5. Apply and save your configuration changes.
6. Identify the string ID numbers with this command.
Each defined string has an associated ID number.
Number of entries: four
>> # /cfg/slb/filt 1/adv/urlp ena
>> # /cfg/slb/layer7/redir/header ena host
>> # /cfg/slb/layer7/slb/add ".com"
>> Server Load Balance Resource# add ".org"
>> Server Load Balance Resource# add ".net"
>> # /cfg/slb/layer7/slb/cur
ID SLB String
1any
2.com
3.org
4.net