lokeshshettyk
11-17-2008, 10:15 AM
I want to redirect
http://xxx.abc.com/any/thing/here
to
http://kkk.xxx.abc.com/any/thing/here
if the user is using an iphone or ipod
Here is my code
RewriteCond %{HTTP_USER_AGENT} (ipod|iphone) [NC]
RewriteRule ^(.*) http://kkk.xxx.abc.com/$1? [R=301,L]
Gives me the following error
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Please help
http://xxx.abc.com/any/thing/here
to
http://kkk.xxx.abc.com/any/thing/here
if the user is using an iphone or ipod
Here is my code
RewriteCond %{HTTP_USER_AGENT} (ipod|iphone) [NC]
RewriteRule ^(.*) http://kkk.xxx.abc.com/$1? [R=301,L]
Gives me the following error
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Please help