Fortinet 155 FortiWeb 5.0 Patch 6 Administration Guide
5. If you selected Custom-Defined in Type , configure these settings:
6. Click OK.
7. Group the URL replacers in an application policy (see “Grouping URL interpreters” on
page 165).
8. Select the application policy in one or more auto-learning profiles (see “Configuring an
auto-learning profile” on page 177).
9. Select the auto-learning profiles in server policies (see “Configuring a server policy” on
page 483).
See also
•Regular expression syntax
•Example: URL interpreter for a JSP application
•Example: URL interpreter for Microsoft Outlook Web App 2007
•Example: URL interpreter for WordPress
Setting name Description
URL Path Type a regular expression, such as (^/[^/]+)/(.*), matching all and
only the URLs to which the URL replacer should apply. The maximum
length is 255 characters.
The pattern does not require a backslash ( / ). However, it must at least
match URLs that begin with a slash as they appear in the HTTP header,
such as /index.html. Do not include the domain name, such as
www.example.com.
For examples, see “Example: URL interpreter for WordPress” on page 160.
To test the regular expression against sample text, click the >> (test) icon.
This opens the Regular Expression Validator window where you can
fine-tune the expression (see “Regular expression syntax” on page 673,
“What are back-references?” on page 678 and “Cookbook regular
expressions” on page 680)
Note: If this URL replacer will be used sequentially in its set of URL
replacers, instead of being mutually exclusive, this regular expression
should match the URL produced by the previous interpreter, not the
original URL from the request.
New URL Type either a literal URL, such as /index.html, or a regular expression
with a back-reference (such as $1) defining how the URL will be
interpreted. The maximum length is 255 characters.
Note: Back-references can only refer to capture groups (parts of the
expression surrounded with parentheses) within the same URL replacer.
Back-references cannot refer to capture groups in other URL replacers.
Param
Change
Type either the parameter’s literal value, such as user1, or a
back-reference (such as $0) defining how the value will be interpreted.
New Param Type either the parameter’s literal name, such as username, or a
back-reference (such as $2) defining how the parameter’s name will be
interpreted in the auto-learning report. The maximum length is 255
characters.
Note: Back-references can only refer to capture groups (parts of the
expression surrounded with parentheses) within the same URL replacer.
Back-references cannot refer to capture groups in other URL replacers.