Menu

Portal theme - Mixed Content

2023-06-08
2023-07-27
  • Carlos Magaña

    Carlos Magaña - 2023-06-08

    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.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-06-08

    Did you re-run the iTop setup and specify the app root URL with https:// ?

     
  • Carlos Magaña

    Carlos Magaña - 2023-06-08

    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/',

     
  • Pierre Goiffon

    Pierre Goiffon - 2023-07-27

    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 ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.