Hmm.... looks related to your favicon. If you template has a favicon link (something like <link href='/favicon.ico' rel='shortcut icon' /> in the <head>), and the file doesn't exist, then Rails will try to process the request, thinking you're looking for a user called 'favicon' with the request format mime-type 'ico'. Since that user doesn't exist, you get a login redirect.
Try putting a favicon.ico file in your public directory, that should do it. Take care, Bruno On Thu, Sep 24, 2009 at 11:36 PM, James.d <[email protected]> wrote: > > Hi all, > > I see a very strange issue on my production host only ... even when > i'm logged in, i'll see the flash message in the yellow box: > > Please log in. > > Checking out production.log i see a million of these little messages: > > Processing UsersController#show to ico (for 76.xx.xx.xx at 2009-09-25 > 04:32:28) [GET] > Parameters: {"id"=>"favicon"} > Redirected to http://myprodserver.com/login > Filter chain halted as [:find_user] rendered_or_redirected. > Completed in 8ms (DB: 0) | 302 Found [http://myprodserver.com/ > favicon.ico] > > > Processing SessionsController#new (for 76.xx.xx.xx at 2009-09-25 > 04:32:29) [GET] > Redirected to http://myprodserver.com/james > Completed in 6ms (DB: 0) | 302 Found [http://myprodserver.com/login] > > Stats for my webhost: > - ubuntu 8.10 x86 64-bit > - Apache2 w/ Passenger > > I'm at a loss for where to look next... any ideas ? > > james > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
