Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 629 posts 1016 karma points
    Mar 07, 2016 @ 15:48
    Dan Evans
    0

    Page preview not working when umbracoUseSSL = true

    If is set to force Umbraco to run under SSL then the page preview function stops working. This appears to be because the preview is loading as an insecure http request into the https frame so the browser rejects the request as "mixed" content.

    Is there a solution to this problem?

    Thanks

    Dan

  • Dan Evans 629 posts 1016 karma points
    Mar 07, 2016 @ 15:57
    Dan Evans
    0

    It appears to be a conflict with this package - https://our.umbraco.org/projects/website-utilities/https-redirect/ - which redirects https pages to http if they haven't been explicitly specified as such

  • Olie 11 posts 52 karma points
    May 04, 2017 @ 01:11
    Olie
    1

    I found when using preview over SSL I was getting the same issue... this resolved it for me. (add under <system.webServer>)

    <defaultDocument>
      <files>
        <add value="index.html" />
      </files>
    </defaultDocument>
    
Please Sign in or register to post replies

Write your reply to:

Draft