[Klug-general] htaccess issues with firefox

Dan Attwood danattwood at gmail.com
Wed Dec 22 11:18:21 UTC 2010


Hi all

I'm diving into htacess rules for the first time and have the following:


RewriteCond %{HTTP_COOKIE} !^.*TestCookie.*$ [NC]
RewriteRule .*  /loginfailed.php [R]


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:

http://mydomain/loginfailed.php?id=50

the id variable is causing Firefox to show 'The page isn't redirecting
properly'

Chrome and IE don't show the id variable in the redirect link.

anyone htaccess gurus out there?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20101222/214acdb4/attachment.htm>


More information about the Kent mailing list