Setting name | Value |
custom-defined | |
(/application/)([^/]+\\.[^/]+) | |
$0 | |
$1 | |
setting |
Variable | Description | Default |
<interpreter_name> | Type the name of a new or existing URL interpreter. The maximum length is 35 characters. To display the list of existing URL interpreter, type: edit ? | No default. |
type {pre-defined | custom-defined} | Select either: • pre-defined — Use one of the predefined URL replacers for well-known web applications, which you select in app-type {jsp | owa-2003}. • custom-defined — Define your own URL replacer by configuring url "<original-url_str>", new-url <new-url_str>, param <value_str>, and new-param <replaced-param_name>. | pre-defined |
app-type {jsp | owa-2003} | If type is pre-defined, select which predefined URL interpreter to use, either: • jsp — Use the URL replacer designed for Java server pages (JSP) web applications, where parameters are often separated by semi-colons ( ; ). • owa-2003 — User the URL replacer designed for Microsoft Outlook Web App (OWA) 2003, where user name and directory parameters are often embedded in the URL. | jsp |
url "<original-url_str>" | Type a regular expression, such as ^/(.*)/(.*)$, matching all and only the URLs to which the URL replacer should apply. 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. This setting is used only if type is custom-defined. The maximum length is 255 characters. Note: Auto-learning consider URLs up to approximately 180 characters long (assuming single-byte character encoding, after FortiWeb has decoded any nested hexadecimal or other URL encoding — therefore, the limit is somewhat dynamic). If the URL is greater than that buffer size, auto-learning will not be able to learn it, and so will ignore it. No event log will be created in this case. 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. | No default. |
new-url <new-url_str> | 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. This setting is used only if type is custom-defined. 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. | No default. |
param <value_str> | Type either the parameter’s literal value, such as user1, or a back-reference (such as /$0) defining how the value will be interpreted. This setting is used only if type is custom-defined. The maximum length is 255 characters. | No default. |
new-param <replaced-param_name> | 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. This setting is used only if type is custom-defined. 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. | No default. |