I have an account with virtual hosting, LAMP/Cpanel, and just had an SSL certificate installed. When I asked them for instructions on how to move moodle from http to https they suggested adding the following to the .htaccess file:
===========
# Always use https for secure connections
# Replace 'www.example.com' with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
============
That seems like a reasonable thing to do, and then I'm thinking I would edit the wwwroot in config.php from http to https.
I'm wondering if I do those two things would that be complete or would I need to change HTTP security setting for Use HTTPS for logins to yes?
I can't seem to find instructions on this in the documentation or my forum searches, if anybody has a good reference for me I would appreciate that and do you think the above will work for me?
Thanks