When rewriting a URL from HTTP to HTTPS. Apache is repeating the matched path multiple times - how can it be stopped?
Eg: URL example.com/test/
Output URL example.com/testtesttesttesttesttesttest/
Rewrite Rules Used RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*)$ https://%{SERVER_NAME}/$1 [R,L]
Apache version 2.2.19 Server Windows 2003r2
