Forum
SSL in Runway - just checking something
Referring to the documentation at https://docs.grabaperch.com/perch/configuration/ssl/ I can see the config setting to switch the Admin panels to SSL. And I see the suggestion to include <?php PerchSystem::force_ssl(); ?> right after the runtime include (in Perch). As there's no runtime include on master pages in Runway, is it correct to just put <?php PerchSystem::force_ssl(); ?> as the first line of each Runway master page?
Hi Graham,
if you're making the whole site SSL, you don't need to do any of that. I think the force_ssl() function was intended for if the site was going to be a mix of SSL/non-SSL.
If it's the whole site, make Apache do all the work.
OK - that's the way I've done it in the past (non Perch sites) by modifying '.htaccess'. Thanks.
The in-built SSL stuff was mostly designed to help people in mixed environments, which aren't so common these days. Perhaps we'll remove it.