Redirecting all HTTP requests to HTTPS
When configuring FotoWeb to use HTTPS, you will want to configure the server to only allow secure connections. To this end, a permanent redirect has to be made for all http requests to HTTPS. This article explains how to do that.
- This step is only needed for FotoWeb 8.0 versions: Install the URL Redirect extension for IIS from Microsoft: https://www.iis.net/downloads/microsoft/url-rewrite
- Open IIS Manager and select the website on which FotoWeb is hosted (NOT the «fotoweb» application)
- Open URL Rewrite settings
- Add a new rule and configure it as follows:
Set the URL pattern to (.*)
Add a condition with input{HTTPS}
and “Matches the Pattern” with pattern value off
Set action type to Redirect, and set the redirect URL to https://{HTTP_HOST}/{R:1}
Make sure Append query string is enabled.
The redirect type should be Permanent (301). Make sure to clear the browser cache before testing redirects as these are cached.