Fortinet 374 FortiWeb 5.0 Patch 6 Administration Guide
and redirects them to the equivalent URL on its secure sites:
https://www.example.com/login
https://www.example.co.jp/
This rewriting rule has 3 parts:
Regular expression that matches HTTP requests with any host name — (.*)
Regular expression that matches requests with any URL in the HTTP header — ^/(.*)$
Redirect destination location that assembles the host name ($0) and URL ($1) from the
request in front of the new protocol prefix, https://
See “What are back-references?” on page 678.
This regular expression should not match HTTPS requests, since it would decrease
performance to redirect requests that are already in HTTPS.