Tag: webserver

  • HTTPS Rewrite Linux/Hosting .htaccess

    HTTPS Rewrite Linux/Hosting .htaccess

    Discussed HTTP to HTTPS rewrite rule for windows platform IIS on previous post.  If the web server as linux based environment that can be archived and play with .htaccess file.

    .htaccess file has always in hidden attribute so edit the file with vi editor

    Add the below code of mod_rewrite.c module to make http to https redirection.

    Cheers!

    Suggestion: HTTP to HTTPS rewrite rule (IIS)