Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-5330

Site redirection from HTTP to HTTPS

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Platform
    • Labels:
      None
    • Module:
      BenAdmin - Security
    • Reported by:
      Support
    • Item State:
      Production Complete - Closed
    • Issue Importance:
      Must Have

      Description

      When user enter workterra.net, user should get redirected to https://www.workterra.net on production. It should not be mandatory to enter protocol for URL.

      This ticket is related to WT-5254

        Attachments

          Activity

          Hide
          vijayendra Vijayendra Shinde (Inactive) added a comment -

          Using configuration we will redirect user from http to https.

          This change will only be applicable for LB, Stage and Production as this needs SSL certificate configured on server.

          As developer machine do not have ssl configured, we are not considering development environment for this change.

          We will add below tag in outer web.config file in System.WebServers tag

          <rewrite>
          <rules>
          <rule name="http to https" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
          <add input="

          {HTTPS}

          " matchType="Pattern" pattern="^OFF$" ignoreCase="true" negate="false" />
          </conditions>
          <action type="Redirect" url="https://

          {HTTP_HOST}

          /

          {R:1}

          " redirectType="SeeOther" />
          </rule>
          </rules>
          </rewrite>

          Show
          vijayendra Vijayendra Shinde (Inactive) added a comment - Using configuration we will redirect user from http to https. This change will only be applicable for LB, Stage and Production as this needs SSL certificate configured on server. As developer machine do not have ssl configured, we are not considering development environment for this change. We will add below tag in outer web.config file in System.WebServers tag <rewrite> <rules> <rule name="http to https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input=" {HTTPS} " matchType="Pattern" pattern="^OFF$" ignoreCase="true" negate="false" /> </conditions> <action type="Redirect" url="https:// {HTTP_HOST} / {R:1} " redirectType="SeeOther" /> </rule> </rules> </rewrite>
          Hide
          rakeshr Rakesh Roy (Inactive) added a comment -

          Working fine.
          After providing workterra.net , URL gets converted into https://workterra.net/Platform and worked fine.

          Show
          rakeshr Rakesh Roy (Inactive) added a comment - Working fine. After providing workterra.net , URL gets converted into https://workterra.net/Platform and worked fine.

            People

            Assignee:
            rakeshr Rakesh Roy (Inactive)
            Reporter:
            vijayendra Vijayendra Shinde (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Dev Due Date:
              Pre-Prod Due Date:
              Production Due Date:
              Code Review Date: