Category: General

Apache Redirect Http to Https

* Paste this into apache conf file

	LoadModule rewrite_module modules/mod_rewrite.so

	RewriteEngine on
	ReWriteCond %{SERVER_PORT} ^443$
	RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L

Apache

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.