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 / 5. Vote count: