Skip to content →

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)

Published in Web services administration

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.