Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2086

Redirect to https on main bioviz site

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      0.25
    • Sprint:
      Fall 6 : 28 Oct to 8 Nov, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar, Spring 6 : 30 Mar to Apr 10, Spring 7 : 13 Apr to 24 Apr, Spring 8 : 24 Apr to 8 May

      Description

      Configure main Bioviz site to redirect to https if visitor requests http

      This should work for all *.bioviz.org requests getting sent to the main site.

      Edit setup description in top-level README file to indicate how this can be done.

      Suggestion: Look at how we do this on App Store.

        Attachments

          Issue Links

            Activity

            Show
            ann.loraine Ann Loraine added a comment - See: https://bitbucket.org/lorainelab/bioviz/src/master/
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Solution - added to httpd.conf:

            <VirtualHost *:80>
            ServerName www.bioviz.org
            Redirect / https://www.bioviz.org/
            </VirtualHost>

            For next step, add to bioviz-playbooks.

            Show
            ann.loraine Ann Loraine added a comment - - edited Solution - added to httpd.conf: <VirtualHost *:80> ServerName www.bioviz.org Redirect / https://www.bioviz.org/ </VirtualHost> For next step, add to bioviz-playbooks.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Added to playbook:

            name: https not http
            become: yes
            blockinfile: |
            dest: /etc/httpd/conf/httpd.conf
            <VirtualHost *:80>
            ServerName {{ server_name }}
            Redirect / https://{{ server_name }}
            </VirtualHost>

            Next step: test it.

            Show
            ann.loraine Ann Loraine added a comment - - edited Added to playbook: name: https not http become: yes blockinfile: | dest: /etc/httpd/conf/httpd.conf <VirtualHost *:80> ServerName {{ server_name }} Redirect / https://{{ server_name }} </VirtualHost> Next step: test it.
            Hide
            ann.loraine Ann Loraine added a comment -

            Tested also that Galaxy to IGB bridge still works.

            Show
            ann.loraine Ann Loraine added a comment - Tested also that Galaxy to IGB bridge still works.
            Hide
            ann.loraine Ann Loraine added a comment -

            To finalize testing:

            • Check that bar.js works

            To test bar.js:

            IGB should load a new track with data from the selected link.

            Show
            ann.loraine Ann Loraine added a comment - To finalize testing: Check that bar.js works To test bar.js: Go to https://bar.utoronto.ca/eFP-Seq_Browser/ Click "LOAD DATA" Start IGB Click link "Alignments in IGB" (in right column of table) IGB should load a new track with data from the selected link.
            Hide
            ann.loraine Ann Loraine added a comment -

            Above test succeeded. Moving to closed.

            Show
            ann.loraine Ann Loraine added a comment - Above test succeeded. Moving to closed.

              People

              • Assignee:
                ann.loraine Ann Loraine
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: