SSL Admin Problems

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jimbabwe
Forum Members
Forum Members
Posts: 29
Joined: Sat Nov 18, 2006 8:09 pm

SSL Admin Problems

Post by jimbabwe »

I'm trying to get ssl working for the admin section with shared ssl (networksolutions).

It looks like the current 1.1.3.1 Apia has this built into the config.php
After readinng http://forum.cmsmadesimple.org/index.ph ... 475.0.html, I altered the config.php as per below:

$config['root_url'] = 'http://www.mysite.com/cmsmadesimple';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = 'https://secure.netsolhost.com/mysite.com/cmsmadesimple';
}

When I browse to: 'https://secure.netsolhost.com/mysite.co ... mple/admin', I get forwarded to a non-https connection.

This is probably something simple; sorry if I'm missing it.

Any pointers are welcome.

I've also tried the f ($_SERVER['SERVER_PORT'] == '443') option discussed here: http://forum.cmsmadesimple.org/index.ph ... 360.0.html

Thanks in Advance.
Post Reply

Return to “CMSMS Core”