http to https

Discussion in 'eCommerce' started by phantom13, Aug 8, 2010.

  1. #1
    Does anyone has any ideea of how i can make that when someone enters my ip and hit go in browser to acces https://ip instead of default http://ip?
    I already installed SSL but do not know how i can redirect...
     
    phantom13, Aug 8, 2010 IP
  2. Rob-IP

    Rob-IP Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if you are using apache here is a link I googled

    joseph.randomnetworks.com/archives/2004/07/22/redirect-to-ssl-using-apaches-htaccess/

    or if you are using php, I can show you how to do it that way as well.

    HTH
     
    Rob-IP, Aug 8, 2010 IP
  3. Henry_Jakson

    Henry_Jakson Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think -You really don't need to know what it all stands for; the important thing is the letter S which makes the difference between HTTP and HTTPS. The S stands for "Secure". You probably didn't need me to tell you that, because you already knew it had something to do with security
     
    Henry_Jakson, Aug 8, 2010 IP
  4. phantom13

    phantom13 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, i know the difference but i want to force client to acces all website only via http secure :D
     
    phantom13, Aug 9, 2010 IP
  5. horsey67745

    horsey67745 Peon

    Messages:
    302
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    is a common web protocols http, https is encrypted web protocol
     
    horsey67745, Aug 13, 2010 IP
  6. phantom13

    phantom13 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i managed to redirect using htacces file. thx
     
    phantom13, Aug 13, 2010 IP
  7. teamaguilar

    teamaguilar Peon

    Messages:
    197
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks for sharing the info!
     
    teamaguilar, Aug 16, 2010 IP
  8. phantom13

    phantom13 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    # Force use of https
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
     
    phantom13, Aug 17, 2010 IP
  9. Alisha goal

    Alisha goal Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi...
    I also agree with Horsey67745. Http is a web protocol and Https is a encrypted web protocol.
     
    Alisha goal, Aug 17, 2010 IP
  10. peterzhou

    peterzhou Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    why u want to force client to acces all website only via http secure, i see most websites just use https for the login and register page. Is there any side effect to acces all website only via http secure?
     
    peterzhou, Aug 19, 2010 IP