Details
-
Bug
-
Resolution: Fixed
-
Medium
-
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
-
None
-
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
- Open terminal window
- 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
- Clear the caches
$ php bin/php/ezcache.php --clear-all --purge
- Add two folder
- Login into admin interface, using admin account
- Click on "Content structure" from the top menu
- Click on "Create new" button
- Choose "Folder" from the drop down list
- In the "Name (required):" fill in "News"
- Click on "Send for publishing" button
- Click on "Create new" button
- Choose "Folder" from the drop down list
- In the "Name (required):" fill in "Sports"
- Click on "Send for publishing" button
- Access you site frontend
- Click on "News" folder
- Verify that you're still in http mode
- Click on "Sports" folder
- Verify that you've changed to https mode
- Change SSLSubtrees
- 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
- Clear the caches
$ php bin/php/ezcache.php --clear-all --purge
- Access you site frontend
- Click on "News" folder
- Verify that you're still in http mode
- Click on "Sports" folder
- Verify that you've changed to https mode
- Change the SSLSubress in site.ini.append.php to News