Hi all<div><br></div><div>I&#39;m diving into htacess rules for the first time and have the following:</div><div><br></div><div><div><br></div><div>RewriteCond %{HTTP_COOKIE} !^.*TestCookie.*$ [NC]</div><div>RewriteRule .*  /loginfailed.php [R]</div>
</div><div><br></div><div><br></div><div>This tests for a cookie and then redirects if it doesn&#39;t exist. It working fine in IE and chrome but in Firefox it redirects to:</div><div><br></div><div><a href="http://mydomain/loginfailed.php?id=50">http://mydomain/loginfailed.php?id=50</a></div>
<div><br></div><div>the id variable is causing Firefox to show &#39;The page isn&#39;t redirecting properly&#39;</div><div><br></div><div>Chrome and IE don&#39;t show the id variable in the redirect link.</div><div><br></div>
<div>anyone htaccess gurus out there?</div><div><br></div>