![Coyote Point Systems E350GX Скачать руководство пользователя страница 156](http://html.mh-extra.com/html/coyote-point-systems/e350gx/e350gx_installation-and-administration-manual_2674414156.webp)
Chapter 6: Administering Virtual Clusters
156
Equalizer Installation and Administration Guide
Clicking the
test
button displays a popup that shows the effect of applying the
Regex
to the
Test
URL:
This Responder can be used in any cluster where a Redirect to an HTTPS cluster is desired.
Example 2 -- Multi-Hostname Redirect
Let’s assume that we have a set of ‘.com’ hostnames, all of which resolve to the same cluster IP, and we need a
Responder that redirects requests to the same hostname prefixes with a ‘.net’ suffix. We also want to include the rest
of the URL exactly as specified by the client. For example, we want requests to URLs in these formats:
http://www.example.com/
<path>
http://www.example2.com/
<path>
http://www.example3.com/
<path>
to be redirected to the following URLs:
http://www.example.net/
<path>
http://www.example2.net/
<path>
http://www.example3.net/
<path>
The following regular expression:
^(([^ :/?#]+):)?//([^ \r/?#.]+)?\.([^ \r/?#.]+)?\.([^ \r/?#]+)?(/[^ \r]+)?
breaks the request URL into the following named variables:
$0
http://www.example.com/
<path>
$1
http:
$2
http
$3
www
$4
example
$5
com
$6
/
<path>
We can then use these variables in the URL field as shown in the following Responder configuration screen:
Содержание E350GX
Страница 18: ...Chapter Preface 18 Equalizer Installation and Administration Guide ...
Страница 38: ...Chapter 1 Equalizer Overview 38 Equalizer Installation and Administration Guide ...
Страница 50: ...Chapter 2 Installing and Configuring Equalizer Hardware 50 Equalizer Installation and Administration Guide ...
Страница 62: ...Chapter 3 Using the Administration Interface 62 Equalizer Installation and Administration Guide ...
Страница 80: ...Chapter 4 Equalizer Network Configuration 80 Equalizer Installation and Administration Guide ...
Страница 110: ...Chapter 5 Configuring Equalizer Operation 110 Equalizer Installation and Administration Guide ...
Страница 208: ...Chapter 7 Monitoring Equalizer Operation 208 Equalizer Installation and Administration Guide ...
Страница 240: ...Chapter 8 Using Match Rules 238 Equalizer Installation and Administration Guide ...
Страница 258: ...Chapter 9 Administering GeoClusters 254 Equalizer Installation and Administration Guide Envoy Configuration Worksheet ...
Страница 262: ...Appendix A Server Agent Probes 258 Equalizer Installation and Administration Guide ...
Страница 274: ...Appendix B Timeout Configuration 270 Equalizer Installation and Administration Guide ...
Страница 280: ...Appendix D Regular Expression Format 276 Equalizer Installation and Administration Guide ...
Страница 296: ...Appendix E Using Certificates in HTTPS Clusters 292 Equalizer Installation and Administration Guide ...
Страница 310: ...Appendix F Equalizer VLB 306 Equalizer Installation and Administration Guide ...
Страница 318: ...Appendix G Troubleshooting 314 Equalizer Installation and Administration Guide ...