Copied to clipboard

Flag this post as spam?

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


  • Yovav Gad 41 posts 62 karma points
    Sep 16, 2010 @ 02:24
    Yovav Gad
    0

    How to use SSL only in few pages with URL Redirect

    I added a URL redirect entry to change the login page from http:// to https (SSL)

    My problem is that after I go to the login page https sticks to all my URL because I use relative redirection with ("~")

    How can I write a URL Redirect rule to use just HTTP in all other pages ?

     

    This is what I tried - but it also causes my login page to be a none SSL again...

     

     

     

     

     

     

     

    <

     

     

     

    add name="PreventSSLByDefault

    "

     

    virtualUrl="https://(.*)

    "

     

    rewriteUrlParameter="ExcludeFromClientQueryString

    "

     

    destinationUrl="http://$1

    "

     

    ignoreCase="true

    "

     

    redirect="Domain

    "

     

    redirectMode="Permanent

    "

    />

  • Roger Swearingen 28 posts 49 karma points
    Oct 09, 2010 @ 07:26
    Roger Swearingen
    0

    Yovav,

    Not sure about using the urlRewriting package for this, as I have not ever dug into it, but there is a pretty simple method to do the same thing:

    http://our.umbraco.org/forum/getting-started/installing-umbraco/5091-Enable-SSL--HTTPS

    and a package:

    http://our.umbraco.org/projects/website-utilities/force-ssl

     

    Sorry I couldn't solve your exact problem.  Good luck.

Please Sign in or register to post replies

Write your reply to:

Draft