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
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......