Archive for the tag 'Rewrite'

 

 

Oct 05 2010

Force HTTPS in Apache

Published by under Apache

Apache configuration that redirects HTTP to HTTPS URL for a webmail for instance: LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine on # Activates Rewrite log RewriteLog “C:\Apache\logs\rewrite.log” RewriteLogLevel 1 RewriteCond %{HTTPS} off RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]

No responses yet