Difference between revisions of "Old sites setup SSL"
From GLMWiki
Line 19: | Line 19: | ||
</pre> | </pre> | ||
− | Look for refs to http://app.gaslightmedia.com in the Banner Toolkit directory. | + | Look for refs to <nowiki>http://app.gaslightmedia.com</nowiki> in the Banner Toolkit directory. |
Replace any toolbox page content with is0.gaslightmedia.com refs that are http | Replace any toolbox page content with is0.gaslightmedia.com refs that are http |
Revision as of 12:37, 11 January 2019
Setup .htaccess to always use ssl
RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://www.warmemorialhospital.org/$1 [R,L]
Update the BASE_URL part in setup.phtml and any other ref for http:// to https://
Add curlopt for verify peer to false for any curl calls
$curlOptions = array( CURLOPT_URL => IS_SUBMIT_URL, CURLOPT_HEADER => 0, CURLOPT_RETURNTRANSFER => 1, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_POSTFIELDS => $fileData );
Look for refs to http://app.gaslightmedia.com in the Banner Toolkit directory.
Replace any toolbox page content with is0.gaslightmedia.com refs that are http