[Solved] Admin console and SSL

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ThatOtherGuy
New Member
New Member
Posts: 2
Joined: Sun Feb 13, 2011 10:44 pm

[Solved] Admin console and SSL

Post by ThatOtherGuy »

Hello all,

I am trying to get the admin pages to be encrypted, for obvious reasons.

The SSL cert is up and fine, and the .htaccess file is straight out of the CMSMS FAQ:

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
The http://<website>/admin redirects to https fine, however when attempting to log in... it goes right back to the login.php, instead of actually logging in.

If I rename the htaccess and log in with http, everything is fine. If I'm already in the console in http, re-enable https, and refresh the page - it redirects properly, I can navigate inside the admin console, but the images all give the security warnings associated with mixed-mode pages, since I don't have the htaccess file in the theme directories.

I can't for the life of me figure out why the login is failing so hard. Any thoughts?

Thanks!
Last edited by ThatOtherGuy on Mon Feb 21, 2011 5:20 pm, edited 1 time in total.
ThatOtherGuy
New Member
New Member
Posts: 2
Joined: Sun Feb 13, 2011 10:44 pm

Re: Admin console and SSL

Post by ThatOtherGuy »

Forgot to add:

CMSMS 1.9.3, PHP 5.3.2, Apache 2.2.14 (Ubuntu), MySQL 5.1.41
Locked

Return to “[locked] Installation, Setup and Upgrade”