Copied to clipboard

Flag this post as spam?

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


  • Genc Kastrati 86 posts 401 karma points
    Oct 20, 2016 @ 15:57
    Genc Kastrati
    0

    Redirecting HTTP to HTTPS on Umbraco as a Service

    Dear all, this is a "for information only" post in case someone is searching the forum.

    I've recently setup HTTPS on our Umbraco as a Service website, and have tried to apply the changes needed to force the redirect to HTTPS. The changes are made to the web.config as indicated here:

    Umbraco as a Service: Set Up

    Unfortunately, when I added the changes to web.config, the local IIS generated an error. The warning I get on Visual Studio is:

    The element 'system.webServer' has invalid child element 'rewrite'

    As for the error on IIS, here is the screenshot:

    IIS error after making the changes to web.config

    When I uploaded the broken web.config on UAAS, all worked well.

    Turns out, I forgot to install the URLRewritter on my local IIS. So don't forget to do that!

    Specifications: IIS7, Umbraco 7.5.3.

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Oct 22, 2016 @ 11:54
    Dennis Aaen
    100

    Hi Genc,

    Thanks for sharing this and great you managed to fix the issue #h5yr!

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft