The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

htaccess redirects for https://

Discussion in 'General Discussion' started by ckwebsystems, Feb 13, 2011.

  1. ckwebsystems

    ckwebsystems Registered

    Joined:
    Jan 30, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
  2. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Here is the rule:

    HTML:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
     
Loading...

Share This Page