Hi all<div><br></div><div>I'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'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 'The page isn't redirecting properly'</div><div><br></div><div>Chrome and IE don't show the id variable in the redirect link.</div><div><br></div>
<div>anyone htaccess gurus out there?</div><div><br></div>