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

          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