06-17-2015, 04:44 AM
I want to detect Internet explora 8 or lower version of Internet explora and redirect Internet explora agents to another view.
I tried to do that like this
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "MSIE [6-8]" [NC]
RewriteCond %{REQUEST_URI} !^/sample.html
RewriteRule .* /sample.html [R]
it does work but when I try to redirect it to a view inside codeIgnitor, it dooes not work and it gives
" ERR_TOO_MANY_REDIRECTS "
then how can I perform this ?
my view is located in application/views/IEView.php
how can I redirect it properly ?
Appreciate any help
Dilan
I tried to do that like this
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "MSIE [6-8]" [NC]
RewriteCond %{REQUEST_URI} !^/sample.html
RewriteRule .* /sample.html [R]
it does work but when I try to redirect it to a view inside codeIgnitor, it dooes not work and it gives
" ERR_TOO_MANY_REDIRECTS "

then how can I perform this ?
my view is located in application/views/IEView.php
how can I redirect it properly ?

Appreciate any help
Dilan