23. Add a redirect responder that will redirect all requests coming into the same cluster IP as
cl03
on port 80 (via HTTP); the responder will be configured to redirect these requests to
cl03
on port 443 (via HTTPS).
Since some of the arguments to this command are longer than one line, we’ll add the
responder using multiple command lines to make the input clearer:
eqcli >
resp Redircl04
eqcli rsp-Red*>
type redirect
eqcli rsp-Red*>
statcode 301
eqcli rsp-Red*>
statdesc "Moved Permanently"
eqcli rsp-Red*>
regex “http://clustercl03.example.com/([^ \r]+)?”
eqcli rsp-Red*>
url "https://clustercl03.example.com/$1"
eqcli rsp-Red*>
exit
eqcli: 12200287: Operation successful
eqcli >
Note the following:
The regular expression used in the
regex
parameter contains a single space between the caret
(
^
) and backslash (
\
) characters.
The FQDN used in the
regex
and
url
parameters (e.g.,
cluster-cl03.example.com
) must
match the FQDN used by clients to connect to cluster
cl03
.
24. Add the responder created in the previous step to cluster
cl01
:
eqcli >
cluster cl04 resp Redircl04
Since
cl04
has no associated server pool specified in its configuration, all requests coming in to
cl04
will be redirected to
cl03
by the responder.
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
71
Equalizer Administration Guide
Содержание Equalizer GX Series
Страница 18: ......
Страница 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 42: ......
Страница 52: ......
Страница 64: ......
Страница 72: ......
Страница 76: ......
Страница 123: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 123 Equalizer Administration Guide ...
Страница 228: ......
Страница 238: ......
Страница 411: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 411 Equalizer Administration Guide ...
Страница 459: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 459 Equalizer Administration Guide ...
Страница 476: ......
Страница 492: ......
Страница 530: ......
Страница 614: ......
Страница 626: ......
Страница 638: ......
Страница 678: ......
Страница 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 754: ......
Страница 790: ......
Страница 804: ......
Страница 842: ......
Страница 847: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 847 Equalizer Administration Guide ...
Страница 866: ......