Copied to clipboard

Flag this post as spam?

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


  • manuelpedrera 18 posts 38 karma points
    Dec 15, 2010 @ 18:45
    manuelpedrera
    0

    Set admin section under SSL

    Hey,

    I want to make the /umbraco folder run under https, but I'm getting stuck on doing it. I have tried with config/UrlRewriting.config and this code for testing:

    <add name="test" 
        redirect="Domain"
        virtualUrl="^~/umbraco/(.*).aspx" 
        rewriteUrlParameter="ExcludeFromClientQueryString" 
        destinationUrl="http://www.google.com" 
        ignoreCase="true" />

    But it's just ignoring me. 

    I'm sure that I'm not the first who want to achieve this... Which is the best way to do it? (For complex reasons, I cannot install anything on the server, which is running Win 2008 SP2, IIS 7 and .NET 3.5)

    Thanks

  • manuelpedrera 18 posts 38 karma points
    Dec 22, 2010 @ 13:23
    manuelpedrera
    0

    We are still having issues with this. It's working on our local environment, but when we try on client server, it stops working. These are the environments:

    • Local: Windows 7, IIS 7.5, MSSQL 2005
    • Client: Windows 2008 SP2, IIS 7.0, MSSQL 2005

    Current code is:

                     virtualUrl="http://localhost:81/umbraco/(.*)"
                     rewriteUrlParameter="ExcludeFromClientQueryString"
                     destinationUrl="https://localhost:81/umbraco/$1"
                     ignoreCase="true"
                     redirect="Domain"
                     redirectMode="Permanent" />

    Could anyone with more experience tell the possible reasons why the rewriting could not work? It would be very helpful...

Please Sign in or register to post replies

Write your reply to:

Draft