Install a SSL certificate and redirect all site to HTTPS, but the theme in the portal don´t load correctly.
Was loaded over HTTPS, but requested an insecure stylesheet.
This request has been blocked; the content must be served over HTTPS.
'https://site.com/itop/pages/exec.php?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal' was loaded over HTTPS, but requested an insecure stylesheet 'http://site.com/itop/env-production/sample-portal-new-theme/css/bootstrap-theme-flatly.min.css?itopversion=3.0.0'. This request has been blocked; the content must be served over HTTPS.
Yes, re-run de iTop setup with https://.
This is the URL in the app_root.
'app_root_url' => 'https://'.(isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'site.com').'/itop/',
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Are you also using different hosts to access your iTop, so that you added the SERVER variables in your app_root_url config parameter ?
Did you try with a simplier config parameter value ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Install a SSL certificate and redirect all site to HTTPS, but the theme in the portal don´t load correctly.
Was loaded over HTTPS, but requested an insecure stylesheet.
This request has been blocked; the content must be served over HTTPS.
'https://site.com/itop/pages/exec.php?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal' was loaded over HTTPS, but requested an insecure stylesheet 'http://site.com/itop/env-production/sample-portal-new-theme/css/bootstrap-theme-flatly.min.css?itopversion=3.0.0'. This request has been blocked; the content must be served over HTTPS.
Did you re-run the iTop setup and specify the app root URL with https:// ?
Yes, re-run de iTop setup with https://.
This is the URL in the app_root.
'app_root_url' => 'https://'.(isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'site.com').'/itop/',
Hello,
Are you also using different hosts to access your iTop, so that you added the SERVER variables in your app_root_url config parameter ?
Did you try with a simplier config parameter value ?