ezsystems/ezpublish-legacy — pull request #866 by joaoinacio (2014-01-23 11:57:59+00:00)
Title: Fix EZP-22204: Make sure first Module/View AccessMode != 'keep' is final

JIRA: https://jira.ez.no/browse/EZP-22204

SSLZones first checks ModuleViewAccessMode, then SSLSubtrees.
If access mode for the module/view is 'keep', the SSLSubtree settings will take effect.

However, the first redirect action should be the last, which is not the case - for example when running multiple modules such as layout->content ( using '/layout/set/print/SomeNode' ).

This PR makes it possible to define a different setting in ```[SSLZoneSettings]``` to switch out of ssl
(such as ```ModuleViewAccessMode[layout/*]=http```), without causing a redirect loop.