Hi I'm trying to force ssl on traffic to my domain however it is failing for anything below the root level ie:
http://my.domain/application returns as: https://my.domainapplication
so the root slash is missing in the redirect. I've tried a 301 redirect and conditional rewrites and both yield the same result.
The latest version of my virtualhost for port 80 is:
ServerName my.domain
ServerAlias www.my.domain
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I tried
Redirect / https://my.domain/
and that produced the same result.
Can anyone advise where I'm going wrong?
Thanks