Redirect HTTP to HTTPS
Open the
<IHS/Apache install dir>/conf/httpd.conffile with a text editor.Enable the
mod_rewrite.<so|dll>by uncommenting the line:#LoadModule rewrite_module modules/mod_rewrite.<so|dll>to
LoadModule rewrite_module modules/mod_rewrite.<so|dll>Append the following configuration block to the end of the file.
RewriteEngine on RewriteCond %{SERVER_PORT} =80 RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R,L]