SSL only works for html pages
Permalink
I have a ssl certificate and it works perfectly for static html pages but I can't get it to work for any of my Concrete5 pages. If I switch fromhttp://www.octm.org/ tohttp://www.octm.org/ I get a Server Not Found error. I tried the following:
Adding "s" to the define('BASE_URL', 'http://www.octm.org'); line in the site.php
Adding this to the .htaccess file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?octm\.org$
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$http://www.octm.org/$1 [R,L]
Tried using the Force SSL module.
Am I missing something fundamental about SSL? My testhttp://www.octm.org/test.html page shows up fine. Strange.
I had this issue on version 5.4.2.2 and nothing changed when I upgraded to 5.5.1.
Adding "s" to the define('BASE_URL', 'http://www.octm.org'); line in the site.php
Adding this to the .htaccess file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?octm\.org$
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$http://www.octm.org/$1 [R,L]
Tried using the Force SSL module.
Am I missing something fundamental about SSL? My testhttp://www.octm.org/test.html page shows up fine. Strange.
I had this issue on version 5.4.2.2 and nothing changed when I upgraded to 5.5.1.
restore your original .htaccess file. For an easy way to turn on SSL you can simple install this packagehttp://www.concrete5.org/marketplace/addons/force-ssl/...