Fortinet 157 FortiWeb 5.0 Patch 6 Administration Guide
Table 13:Example: URL replacer for Microsoft Outlook Web App — User name structure #1
Then the URLs would be recognized by auto-learning as if OWA used a more conventional
parameter structure like this:
/exchange/index.html?username1=tom
/exchange/memo.EML?username1=jane.doe
/exchange/2012/1.html?username1=qinlu
Notably, OWA can also include other parameters in the URL, such as a mail folder’s name.
Also, OWA can include the user name and folder in more than one way. Therefore multiple URL
interpreters are required to match all possible URL structures. In addition to the first URL
replacer, you would also configure the following URL replacers and group them into a single set
(an auto-learning “application policy”) in order to recognize all possible URLs.
Table 14:
URL interpreter
Setting name Value
Name OWAusername1
Type Custom-Defined
URL Path (/exchange/)([^/]+)/(.*)
New URL $0$2
Param
Change
$1
New Param username1
Capture group 0
Capture group 1
Capture group 2