| Configuring the WSM
using Device Manager |
  
|
Using the operators Or and And
The following figure shows a network with real servers 1 and 3 configured for URL SLB and real servers 2 and 3 configured for HTTP Host SLB.
In the above figure, with content precedence lookup, the request from the client is processed as follows, depending on the configured operator (And/Or):
- HTTP Host or URL SLB
| The HTTP Host header takes precedence because it is specified first. If there is no Host Header information and the Or operator is used, the URL string is examined next. |
| |
If a request from a client contains no Host Header but has a URL string (such as "/gold"), the request is load balanced among Servers 1 or 3. |
| |
If a request from a client contains a Host Header, then the request is load balanced among Servers 2 and 3. The URL string is ignored because the HTTP Host was specified and matched first. |
- HTTP Host and URL SLB
| The HTTP Host header takes precedence because it is specified first. Because the And operator is used, both a Host Header and URL string are required. If neither is available, the request is dropped. |
| |
If a request from a client contains a URL string (/gold) but not a Host Header, it is not served by any real server. |
| |
If a request from a client contains a URL string (/gold) and Host Header, it is served only by real server 3. |
See also: