Requirements, Using the or and and operators, Requirements 415 using the – Nortel Networks WEB OS 212777 User Manual
Page 415
Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching
n
415
212777-A, February 2002
Requirements
n
Enable Direct Access Mode (DAM), or configure proxy IP address if DAM is disabled.
n
Enable delayed binding.
Using the or and and Operators
shows a network with real servers 1 and 3 configured for URL SLB and real serv-
ers 2 and 3 configured for HTTP Host SLB.
Figure 15-7 Content Precedence Lookup Protectors Example
If the Content Precedence Lookup feature is configured with the or and and operators, the
request from the client is as follows:
n
HTTP Host or URL SLB
The HTTP Host header takes precedence because it is specified first. If there is no Host
Header information and because
or
is the operator, the URL string is examined next.
o
If a request from a client contains no Host Header but has a URL string (such as
“/gold”), the request is load balanced among Server 1 or Server 3.
o
If a request from a client contains a Host Header, then the request is load balanced
among Server 2 and Server 3. The URL string is ignored because the HTTP Host was
specified and matched first.
n
HTTP Host and URL SLB
The HTTP Host header takes precedence because it is specified first. Because and is the
operator, both a Host Header and URL string are required. If either is not available, the
request is dropped.
o
If a request from a client contains a URL string (such as “/gold”) but not a Host
Header, it is not served by any real server.
o
If a request from a client contains a URL string (such as “/gold”) and Host Header, it
is served only by real server 3.
Web Switch
Real Servers
URL: "/gold"
Host: "www.host.net"
URL: "/gold"
Host: "www.host.net"
Client
Internet
1
2
3