How to set up your FortiWeb : Auto-learning : How to adapt auto-learning to dynamic URLs & unusual parameters : Grouping URL interpreters
 
Grouping URL interpreters
In order to use URL interpreters with an auto-learning profile, you must group URL replacers into sets.
Sets can be:
mutually exclusive, where the set contains expressions for all possible URL structures, but only one of the URL replacers will match a given request’s URL
sequential, where the set contains expressions to interpret multiple parameters in a single given URL; each interpreter’s URL input is the URL output of the previous interpreter, and they each parse the URL until all parameters have been extracted; sequential order of interpreters is determined by the URL interpreter’s Priority in the set
To create a custom application policy
1. Before you create an application policy, first create the URL replacers that it will include (see “Configuring URL interpreters”).
2. Go to Auto Learn > Application Templates > Application Policy.
To access this part of the web UI, your administrator’s account access profile must have Read and Write permission to items in the Autolearn Configuration category. For details, see “Permissions”.
3. Click Create New.
A dialog appears.
4. In Name, type a name that can be referenced by other parts of the configuration. Do not use spaces or special characters. The maximum length is 35 characters.
5. Click OK.
6. Click Create New.
A dialog appears.
7. From Plugin Name, select an existing URL replacer from the drop-down list.
 
Rule order affects URL replacer matching and behavior. FortiWeb appliances evaluate URLs for a matching URL replacer starting with the smallest ID number (greatest priority) rule in the list, and continue towards the largest number in the list.
If no rule matches, parameters in the URL will not be interpreted.
If multiple rules match, the output (New URL) from earlier URL replacers will be used as the input (URL Path) for the next URL replacer, resulting in a chain of multiple interpreted parameters.
8. Click OK.
9. Repeat the previous steps for each URL replacer you want added to the policy.
10. Select the application policy in an auto-learning profile (see “Configuring an auto-learning profile”).
11. Select the auto-learning profiles in server policies (see “Configuring a server policy”).
See also
Configuring URL interpreters
Example: URL interpreter for Microsoft Outlook Web App 2007
Example: URL interpreter for WordPress
Configuring an auto-learning profile