Redirecting Old Login Page in HTML5 in IIS

UrlRewrite needs to be installed.

Sample of the web.config, where the request to the old login page is redirected the root of the HTML5 application.

  <location path="." inheritInChildApplications="false">
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      <aspNetCore processPath="dotnet" arguments=".\Origam.ServerCore.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
                <rule name="Login redirect" stopProcessing="true">
                    <match url="^Login.*$" />
                    <action type="Redirect" url="" appendQueryString="false" />