![Radware Alteon Application Manual Download Page 474](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134474.webp)
Alteon Application Switch Operating System Application Guide
Application Redirection
474
Document
ID:
RDWR-ALOS-V2900_AG1302
Browser-Based Cache Redirection
Browser-based cache redirection uses the User-agent: header.
To configure browser-based cache redirection
1. Before you can configure header-based cache redirection, ensure that Alteon is configured for
basic SLB:
—
Assign an IP address to each of the real servers in the server pool.
—
Define an IP interface.
—
Define each real server.
—
Assign servers to real server groups.
—
Define virtual servers and services.
2. Turn on Layer 7 lookup for the filter.
3. Enable header load balancing for "User-Agent:" header.
4. Define the hostnames.
5. Apply and save your configuration changes.
6. Identify the string ID numbers with this command.
Each defined string has an ID number. Number of entries: four
7. Add the defined string IDs to configure the real servers to handle the appropriate load balance
strings, where ID is the identification number of the defined string.
If you do not add a defined string (or add the ID 1), the server will handle any request.
>> # /cfg/slb/filt 1/adv/layer7/l7lkup enable
>> # /cfg/slb/layer7/redir/header ena useragent
>> # /cfg/slb/layer7/slb/addstr "Mozilla"
>> Server Load Balance Resource# add "Internet Explorer"
>> Server Load Balance Resource# add "Netscape"
>> # /cfg/slb/layer7/slb/cur
ID
SLB String
1
any
2
Mozilla
3
Internet Explorer
4
Netscape
>> # /cfg/slb/real 2/layer7/addlb <ID>