Px Series Application Switch Installation and Configuration Guide
7-7
Configuring URL Switching
Figure 7-5: Hierarchical approach to pattern rules
In Figure 7-5, the pattern rules direct user requests as follows:
•
www.buystuff.com/ebooks/authorsa/*
are directed to server group 1
•
www.buystuff.com/ebooks/authorsb/*
are directed to server group 2
•
www.buystuff.com/ebooks/authorsc/*
are directed to server group 3
and so on.
This hierarchical approach has most of the advantages of the first approach, and is also
well-suited to unindexed, browsable, static content. All of the content can be browsed
using a simple CGI or ASP script that inspects the file system and creates links, as
appropriate.
The following commands show the configuration for ebooks, using the hierarchal
method.
config service vip 10.65.31.201 port 8080 proto tcp l7 class http
WS_009
Server Group 1
/ebooks/authorsa/*
www.buystuff.com
Server Group 2
/ebooks/authorsb/*
Server Group 3
/ebooks/authorsc/*
Server Group 26
/ebooks/authorsz/*
Client
.
.
.
Summary of Contents for Px Series
Page 10: ...x Px Series Application Switch Installation and Configuration Guide Preface...
Page 18: ...1 8 Px Series Application Switch Installation and Configuration Guide...
Page 30: ...3 4 Px Series Application Switch Installation and Configuration Guide...
Page 50: ...4 20 Px Series Application Switch Installation and Configuration Guide...
Page 58: ...5 8 Px Series Application Switch Installation and Configuration Guide...
Page 78: ...6 20 Px Series Application Switch Installation and Configuration Guide...
Page 104: ...9 6 Px Series Application Switch Installation and Configuration Guide...
Page 116: ...iv Index Px Series Application Switch Installation and Configuration Guide...