I am using Apache 2.2.3 (old version, I know)
So I am trying to redirect based on older versions of IE (6 and 7 for now... ) and I am getting a redirect loop.
I have:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "MSIE\ [6-7]" [NC]
RewriteRule .* https://example.com/upgrade.html [R=302,L]
Using something like IE7 in a VM just takes forever and doesn't load at all. Also tried this with browserstack, with the same result. Normally my site would come up just fine, but this rewrite is not working out too well for me. I want to redirect to one page if Apache sees IE6,7 instead of going to the homepage.
Using the javascript libraries for this would not work for me because everything else is dynamically generated.