Http header-based web cache redirection, Http header-based web cache redirection 403 – Nortel Networks WEB OS 212777 User Manual
Page 403
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