Chapter 8: Using Match Rules
222
Equalizer Installation and Administration Guide
host_prefix(
string
)
This function evaluates to
true
if the
string
argument is a prefix of
the hostname portion of the URI path. The prefix of the hostname
includes all text up to the first period (“www” in
“www.example.com”).
host_suffix(
string
)
This function evaluates to
true
if the
string
argument is a suffix of the
hostname portion of the URI path. The suffix of the hostname
includes all text after the first period in the hostname
(“example.com” in “www.example.com”).
pathname(
string
)
This function evaluates to
true
if the
string
argument exactly
matches the path component of the request URI.
pathname_prefix(
string
)
This function evaluates to
true
if the
string
argument is a prefix of
the path component of the request URI.
pathname_suffix(
string
)
This function evaluates to
true
if the
string
argument is a suffix of the
path component of the request URI.
pathname_substr(
string
)
This function evaluates to
true
if the
string
argument is a substring of
the path component of the request URI.
pathname_regex(
string
)
This function evaluates to
true
if the
string
argument, interpreted as
a regular expression, matches the path component of the request
URI.
dirname(
string
)
This function evaluates to
true
if the
string
argument exactly
matches the directory portion of the path component of the request
URI. The path component is the entire directory path, including the
trailing slash (for example, “/foo/bar/” is the directory portion of “/
foo/bar/file.html”).
dirname_prefix(
string
)
This function evaluates to
true
if the
string
argument is a prefix of
the directory portion of the path component of the request URI. The
leading slash must be included in the
string
(for example, “/fo” is a
prefix of “/foo/bar/file.html”).
dirname_suffix(
string
)
This function evaluates to
true
if the
string
argument is a suffix of the
directory portion of the path component of the request URI. The
trailing slash must be included in the
string
(for example, “ar/” is a
suffix of the directory portion of
“/foo/bar/file.html”).
dirname_substr(
string
)
This function evaluates to
true
if the
string
argument is a substring of
the directory portion of the path component of the request URI.
dirname_regex(
string
)
This function evaluates to
true
if the
string
argument, interpreted as
a regular expression, matches the directory portion of the path
component of the request URI.
filename(
string
)
This function evaluates to
true
if the
string
argument exactly
matches the filename portion of the URI path.
This portion includes
only the text after the last trailing path component separator (/), as
that is considered part of the directory
(for example, “file.html” is the
filename portion of “/foo/bar/file.html”)
.
filename_prefix(
string
)
This function evaluates to
true
if the
string
argument is a prefix of
the filename portion of the URI path.
URI Match Function
Description
Содержание 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 ...