This product changes the behavior of absolute_url() so that it looks for a boolean property called SSL and changes the http prefix to https if it is set, or https to http if it is not set. The property is acquired, so if you want an entire tree to be SSL protected, a single SSL property in the top folder will do the job.
SSL
If the boolean property SSLForceOn is set on, all acquired SSL settings are ignored and all URL references will use SSL (https). If the boolean property SSLForceOff is set on, all acquired SSL settings are ignored and all URL references will use non-SSL (http).
SSLForceOn
SSLForceOff
This is useful for supporting secure pages for browsers, and unsecured pages for devices that don't support SSL (such as mobile phones) with the same Zope tree. For example:
Secure
Mobile
When Folder Secure is accessed as /Secure, URLs use SSL, but when accessed as /Moblile/Secure, URLs will be forced to non-SSL. The content of Secure is acquired, but the SSLForceOff setting in Mobile overrides the SSL setting in Secure.
/Secure
/Moblile/Secure
This product only works with Zope later than 2.2. The latest version tested is 2.3.2.
See How-To: Managing http/https URL Links for more info.