Apache Rewrite rule

Discussion in 'General' started by mikechacra, Aug 13, 2014.

  1. mikechacra

    mikechacra New Member

  2. srijan

    srijan New Member HowtoForge Supporter


    Add the entries like this

    in the apache directives field of the website settings and click on save.
  3. mikechacra

    mikechacra New Member


    i have tried this. this will give them a certificate error.
  4. srijan

    srijan New Member HowtoForge Supporter

  5. florian030

    florian030 Well-Known Member HowtoForge Supporter

    I use
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    for redirect http to https with out any problems.

    If you see a certificate error, maybe something is wrong with your ssl-cert, too.

Share This Page