Dolphin SSL

It doesn't seem like there's anything available to D7 to switch to SSL anytime.  If you try to switch a page to SSL, everything delivered from D7 thru the header.inc.php variables is http and only pieces of the page will be secure.

Just outta curiosity, does anyone know if there is something written in for it?

sup
Quote · 18 Oct 2010

I'll reply to this as nobody else has.

Way to do this is....

In header.inc.php

Where you normally hard code $site['url']

it needs to use a variable

$site['url']          = $url_dyna;

and stuff like below, which has your site URL, would use the variable, for example:

$site['url_admin']    = "$url_dyna/admin/";

or whatever.. any place that now uses $site['url']

anyways...

When someone comes to your site.. you need to use $_SERVER variables to detect if they are using HTTP or HTTPS...

and based on that, you set the $url_dyna variable... to be http or https...

Good luck!

 

Quote · 20 Oct 2010

Thanks mod, I found this post for D6 i think:

http://www.boonex.com/unity/forums/topic/SSL-Dolphin-.htm

Does anyone have a list of Globals for D7?

sup
Quote · 21 Oct 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.