l
Match functions for the optional <fragment> component are not provided. The fragment por-
tion of a URI is not transmitted by the browser to the server, but is instead retained by the
client and applied after the reply from the server is received.
The following lists the URI matching functions that match text in the URI components shown.
URI Function
Description
host(string)
This function evaluates to
true
if the
string
argument exactly matches the host-
name portion of the request.
In the case of HTTP 0.9, the host is a portion of the
request URI. All other HTTP protocol versions require a Host header to specify
the host, which would be compared to the string.
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; for eample, “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; for example, “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 com-
ponent of the request URI.
pathname_suffix(string)
This function evaluates to
true
if the
string
argument is a suffix of the path com-
ponent 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 dir-
ectory 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 dir-
ectory 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.
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
395
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: ......