Using Regular Expressions in Responders
In some cases, it may be desirable to examine the URL of an incoming request and re-use parts of
it in the URL returned to the client by a Redirect Responder. This is the purpose of the regex
parameter: specify a custom regular expression that is used to:
l
Parse the URL of an incoming request
l
Break it down into separate strings (based on the positions of literal characters in the
expression)
l
Assign each string to a named variable
These named variables can then be used in the URL field of the Redirect Responder. When the
Responder replies to a client, it performs string substitution on the URL. Because the purpose of
using regular expressions to perform string substitution in Redirect URLs is to parse request URLs
into strings, constructing an appropriate regular expression requires an exact knowledge of the
format of the request URLs that will typically be coming in to the cluster IP.
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
753
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: ......