SSL and concrete5
PermalinkNext, the client wants to make some pages on the new site SSL which in theory should be easy right?
First, I got the client to by the SSL cert, which is done, then I simply installed the "force SSL" add-on which I did and applied to the said pages, and I thought it was all working.
However on closer inspection, when I typehttp://domain.com the site simply redirects to the http - non secure connection, so I can't even view the site with https.
I know the https is working because I placed a test.html page on the server in the same folder as the C5 install and this does load as https.
All the theme files use "$this->getThemePath() . '/style.css'"
I've tried, changing the site.php to:
<?php
define('DB_SERVER', 'servername');
define('DB_USERNAME', 'name');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'dbname');
define('BASE_URL', 'https://domain.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'uqCwl8hwDLu4eusDbYgR7KTkf9aQmjcYxbFkBYMiGth3P2zS84SZyvJyWHRn2v5a');
?><?php define('REDIRECT_TO_BASE_URL', true); ?>
site won't load
and
<?php
define('DB_SERVER', 'servername');
define('DB_USERNAME', 'name');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'dbname');
define('BASE_URL', 'https://domain.com');
define('PASSWORD_SALT', 'uqCwl8hwDLu4eusDbYgR7KTkf9aQmjcYxbFkBYMiGth3P2zS84SZyvJyWHRn2v5a');
?>
the site doesn't work at all
I've tried other combinations where I get "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I must be missing a few brain cells here? is there something that needs to be changed in the database?
Any help would be greatly appreciated!
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule (.*)https://%{HTTP_HOST}%{REQUEST_URI}... [R,L]
This is what gives the never ending loop error
"Too many redirects occurred trying to open "http://doman.com/". This might occur if you open a page that is redirected to another page which then is redirected to pen the original page"