This guide is based on recommendations for deploying Kohana to production: http://docs.kohanaphp.com/installation/deployment
Edit application/config/cookie.php and change the following line to your domain name (without the www):
$config['domain'] = ''; |
Example:
$config['domain'] = 'mymap.com'; |
Set site protocol to https
Edit application/config/config.php and change the following line:
$config['site_protocol'] = 'http'; |
to
$config['site_protocol'] = 'https'; |
Set SECURE flag on cookies - this restricts cookies to only be accessed over SSL.
Edit application/config/cookie.php and change the following line:
$config['secure'] = FALSE; |
to
$config['secure'] = TRUE; |
Edit application/config/encryption.php and change the following line:
$config['default']['key'] = 'USHAHIDI-INSECURE'; |
Your encryption key should be at least 16 character long and contain letters, numbers, and symbols.
(Do not use a hash as your key. This significantly lowers encryption entropy.)