I struggled a long time with Drupal in order to get my page to load with SSL. I ended up getting it to work my modifying settings.php
:
/**
* Base URL (optional).
*
* If Drupal is generating incorrect URLs on your site, which could
* be in HTML headers (links to CSS and JS files) or visible links on pages
* (such as in menus), uncomment the Base URL statement below (remove the
* leading hash sign) and fill in the absolute URL to your Drupal installation.
*
* You might also want to force users to use a given domain.
* See the .htaccess file for more information.
*
* Examples:
* $base_url = 'http://www.example.com';
* $base_url = 'http://www.example.com:8888';
* $base_url = 'http://www.example.com/drupal';
* $base_url = 'https://www.example.com:8888/drupal';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
$base_url = 'https://www. ... .com'; // NO trailing slash!
But now I am faced with an entirely new issue, one related to the changes I made in setting.php
.
Now, when I try to reach my page internally by 192.168.1.x/?q=user
, I get a terribly messed up login page, and after entering my login information, I get redirected to a page that shows nothing but "SSL connection error".
What have I done!? Will this ever work?
https://www.mysite.com
from anywhere external to my network. Whenever I attempt to reachhttps://www.mysite.com
from my internal network, I get an SSL connection error. Now that I changedsettings.php
, I can reachhttps://www.mysite.com
externally, I still can't reach it internally (getting the SSL connection error still) and now I can't get to192.168.1.x/?q=user
internally, as I was able to before implementing my changes tosettings.php