config domain name buystuff.com

config pattern-rule default server-group-name buystuff config domain name www.buystuff.com

config pattern-rule default server-group-name buystuff config domain name speakyourmind.com

config pattern-rule default server-group-name speakyourmind config domain name www.speakyourmind.com

config pattern-rule default server-group-name speakyourmind config domain name buythisnow.com

config pattern-rule default server-group-name buythisnow config domain name www.buythisnow.com

config pattern-rule default server-group-name buythisnow config domain default

config pattern-rule default server-group-name mainpage

URL Switching

URL switching takes the concept of domain name switching one step further by looking deeper into the request. In addition to examining the domain name, the Px series application switch examines the entire requested URL and matches it against a list of pattern rules. Each of the pattern rules has its own associated server group.

URL switching allows you to control where traffic is sent based on the exact web object a client is requesting. URL switching provides high flexibility and scales to meet your needs. You can add, move, and change resources without changing links or reconfiguring web servers.

Configuring URL Switching

Using URL switching, you can split your site into multiple groups of servers and add rules to the application switch that directs traffic in the correct direction.

For example, as shown in Figure 7-3, a user might want to visit www.buystuff.com. During the initial visit, the user simply requests www.buystuff.com. This request returns a home page, such as /index.html. Subsequent clicks made by the user result in requests for pages, such as www.buystuff.com/stereos or www.buystuff.com/dvds.

7-4

Px Series Application Switch Installation and Configuration Guide

Page 82
Image 82
Extreme Networks Px Series manual Configuring URL Switching