11
andrey3761
Re: How to use SSL for login?

1) mainfile.php (XOOPS 2.4.0)
// URL Association for SSL and Protocol Compatibility
    
$http 'http://';
    if (!empty(
$_SERVER['HTTPS'])) {
        
$http = ($_SERVER['HTTPS']=='on') ? 'https://' 'http://';
    }
    
define('XOOPS_PROT'$http);

2) Copy file /extras/login.php in SSL directory.
In adjustment of administration of site switch on SSL login.
http://i076.radikal.ru/0910/31/39477fd59230.jpg