[Klug-general] htaccess issues with firefox
Dan Attwood
danattwood at gmail.com
Wed Dec 22 11:42:16 UTC 2010
On 22 December 2010 11:33, David Halliday <david.halliday at gmail.com> wrote:
> Silly suggestion. Have you tried closing down firefox and restarting it?
>
> I remember suffering pain for hours related to cookies, redirects, file
> permisions and related stuffs (this was two years ago). Closing firefox and
> restarting it seemed to make it all work as expected. Perhaps this is the
> same bug.
>
> On 22 December 2010 11:17, Dan Attwood <danattwood at gmail.com> wrote:
>
>> 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?
>>
>>
>> _______________________________________________
>> Kent mailing list
>> Kent at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/kent
>>
>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20101222/04e89327/attachment.htm>
More information about the Kent
mailing list