Page 1 of 1

https on 1.11.1

Posted: Thu Nov 17, 2022 5:47 pm
by cowtan
I have a customer with an old site running on CMSMS 1.11.1. They recently decided the site needed to be based on https rather than http. This has now been done and the front-end of the site runs fine but on the backend all links, stylesheets etc are appearing as http in the code which means it isn't really working.

I'm aware this is a very old version etc etc but does anyone have any idea what's going on and thoughts on what I might need to do to get the backend to properly switch over to https?

Thanks,
Gordon

Re: https on 1.11.1

Posted: Thu Nov 17, 2022 6:20 pm
by DIGI3
It's possible there's some hardcoded urls that are going to cause issues, but you can try setting the root_url to an https url in config.php then clearing the cache:
$config['root_url'] = 'https://www.mysite.com';

There may be other config.php settings from back then that help, check in your /doc folder for a config reference pdf. They're generally irrelevant now so I can't recall them. And of course I'd be remiss in not telling you to upgrade asap for security reasons.

Re: https on 1.11.1

Posted: Fri Nov 18, 2022 7:58 am
by cowtan
Many thanks for the advice. Setting that variable in the config seems to have done the trick.

(Thanks also for the upgrade advice ;) )