Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 4.1.4, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.7.0-dev, Known Issues Legacy Stack, 4.6.0, 5.0
    • Component/s: Caching, Documentation
    • Labels:
      None
    • Environment:

      Operating System: RHEL 6.1 EE
      PHP Version: 5.3.3
      Database and version: 5.1.61
      Browser (and version): Any

      Description

      If you change your sslsubstrees in site.ini after they've been defined, they are simply ignored.

      Steps to reproduce

      Setup
      1. Open terminal window
      2. Add the following to you site.ini.append.php

        [SSLZoneSettings]
        # Enable/disable the SSL zones functionality.
        SSLZones=enabled
        # Content subtrees we must use SSL for.
        # (currently, only content/view and content/edit respect this setting)
        #
        # Examples:
        # SSLSubtrees[]=/news
        # SSLSubtrees[]=/polls
        SSLSubtrees[]=/sports
        

      3. Clear the caches

        $ php bin/php/ezcache.php --clear-all --purge
        

      4. Add two folder
        1. Login into admin interface, using admin account
        2. Click on "Content structure" from the top menu
        3. Click on "Create new" button
        4. Choose "Folder" from the drop down list
        5. In the "Name (required):" fill in "News"
        6. Click on "Send for publishing" button
        7. Click on "Create new" button
        8. Choose "Folder" from the drop down list
        9. In the "Name (required):" fill in "Sports"
        10. Click on "Send for publishing" button
      5. Access you site frontend
        1. Click on "News" folder
        2. Verify that you're still in http mode
        3. Click on "Sports" folder
        4. Verify that you've changed to https mode
      6. Change SSLSubtrees
        1. Change the SSLSubress in site.ini.append.php to News

          [SSLZoneSettings]
          # Enable/disable the SSL zones functionality.
          SSLZones=enabled
          # Content subtrees we must use SSL for.
          # (currently, only content/view and content/edit respect this setting)
          #
          # Examples:
          # SSLSubtrees[]=/news
          # SSLSubtrees[]=/polls
          SSLSubtrees[]=/news
          

        2. Clear the caches

          $ php bin/php/ezcache.php --clear-all --purge
          

        3. Access you site frontend
          1. Click on "News" folder
          2. Verify that you're still in http mode
          3. Click on "Sports" folder
          4. Verify that you've changed to https mode

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Backlog Backlog
        62d 21h 7m 1 joaquim.cavalleri@ez.no 26/Oct/12 11:29 AM
        Backlog Backlog InputQ InputQ
        104d 23h 47m 1 Gunnstein Lye 08/Feb/13 10:16 AM
        InputQ InputQ Development Development
        4d 7h 50m 1 Bertrand Dunogier 12/Feb/13 6:07 PM
        Development Development Development Done Development Done
        10s 1 Bertrand Dunogier 12/Feb/13 6:07 PM
        Development Done Development Done Removed Status Removed Status
        1d 23h 19m 1 Bertrand Dunogier 14/Feb/13 5:26 PM
        Removed Status Removed Status Documentation Documentation
        5d 16h 36m 1 ricardo.correia@ez.no 20/Feb/13 10:03 AM
        Documentation Documentation Documentation Review done Documentation Review done
        49s 1 ricardo.correia@ez.no 20/Feb/13 10:03 AM
        Documentation Review done Documentation Review done QA QA
        3h 31m 1 pedro.resende@ez.no 20/Feb/13 1:35 PM
        QA QA QA Done QA Done
        11d 22h 45m 1 pedro.resende@ez.no 04/Mar/13 12:21 PM
        QA Done QA Done Closed Closed
        21h 49m 1 André Rømcke 05/Mar/13 10:10 AM
        Closed Closed Reopened Reopened
        1h 30m 1 Bertrand Dunogier 05/Mar/13 11:41 AM
        Reopened Reopened Closed Closed
        23s 1 Bertrand Dunogier 05/Mar/13 11:41 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Pedro Resende
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 6 hours, 30 minutes
              1d 6h 30m