Hello,
I'm running Apache 2.4 on a FreeBSD 10.3 system, with several virtual
hosts. My goal is to have all of them completely ssl, except for the
.well-known area needed for letsencrypt.
<VirtualHost *:80>
ServerName example.com
RewriteEngine On
RewriteRule ^/?(.*) http://www.example.com$1 [R,L]
# This line also produces the double slash effect
# RewriteRule ^/?(.*) http://www.example.com/$1 [R,L]
</VirtualHost>