Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching
n
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:
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.
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
1
any
2
.com
3
.org
4
.net
Summary of Contents for Web OS 10.0
Page 26: ...Web OS 10 0 Application Guide 26 n Basic Switching Routing 212777 A February 2002...
Page 116: ...Web OS 10 0 Application Guide 116 n Web Switching Fundamentals 212777 A February 2002...
Page 168: ...Web OS 10 0 Application Guide 168 n Chapter 6 Server Load Balancing 212777 A February 2002...
Page 216: ...Web OS 10 0 Application Guide 216 n Chapter 8 Application Redirection 212777 A February 2002...
Page 288: ...Web OS 10 0 Application Guide 288 n Advanced Web Switching 212777 A February 2002...
Page 440: ...Web OS 10 0 Application Guide 440 n Chapter 16 Persistence 212777 A February 2002...
Page 470: ...Web OS 10 0 Application Guide 470 n Chapter 17 Bandwidth Management 212777 A February 2002...
Page 474: ...Web OS 10 0 Application Guide 474 n Glossary 212777 A February 2002...