Dell 3-DNS Especificaciones Pagina 138

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 426
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 137
Chapter 4: Configuring the High-Level Network
4-58
The preceding rule applies the format string to the URL. In this case, the
format string sets the protocol to https, strips the requested port number (if
any), and changes it to 8080, and applies a trailing slash (/) to the end of the
URI, if the URI ends with the string baz.
Note
The %u format string strips the first character of the URI path. This is
usually a slash (/), and this modification is done purely for aesthetic
reasons. Thus when describing a URL, the string http://%h/%u is used
instead of http://%h%u.
For more information on HTTP redirection and format strings, see HTTP
redirection, on page 4-37.
Rule statements
A rule consists of statements. Rules support the following types of
statements:
•An if statement asks a true or false question and, depending on the
answer, takes some action.
•A discard statement discards the request. This statement must be
conditionally associated with an if statement.
•A use statement uses a selected pool for load balancing. This statement
must be conditionally associated with an if statement.
•A cache statement uses a selected pool for load balancing. This
statement can be conditionally associated with an if statement.
•A redirect statement sends traffic to a specific destination, rather than to
a pool for load balancing.
The primary possible statements expressed in command line syntax are:
if (<question>) {<statement>} [else {<statement>}]
discard
use ( <pool_name> )
cache ( <expressions> )
redirect ( <redirect URL> )
For detailed syntax of these rules statements, see To define a rule from the
command line, on page 4-63.
Questions (expressions)
A question or expression is asked by an if statement and has a true or false
answer. A question or expression has two parts: a predicate (operator), and
one or two subjects (operands).
There are two types of subjects (operands); some subjects change and some
subjects stay the same.
Changing subjects are called variable operands.
Vista de pagina 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 425 426

Comentarios a estos manuales

Sin comentarios