Extreme Networks Px Series Switch User Manual


 
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
.
.
.