On 2007-07-07 10:48:38 +0200, Neil Blakey-Milner wrote:
> I use Routes with Identity without any problems (on TG 1.0.2.2).  Is
> your login page still located at /login?  Identity will redirect the
> request to that page unless you change the URL to redirect to in
> config/app.cfg.

Yes, my login page is still at /login (but I've also set
server.webpath because of the apache integration). I can login in
manually via /login but not via redirection. It doesn't display the
login page at all.

> Otherwise, turn up the logging level in dev.cfg (change the INFOs at
> the bottom to DEBUG), and look at the logs when you try access the
> page.

It looks like it got stuck in a endless loop. I've to kill the database
process to end it.

2007-07-09 08:19:17,099 turbogears.identity DEBUG Retrieving identity for 
visit: 7f4fde8546a80b5a9b2365adab214f976ad5155d
2007-07-09 08:19:17,100 turbogears.identity DEBUG Identity is available...
2007-07-09 08:19:17,103 turbogears.controllers DEBUG Calling <function default 
at 0x40d3ed84> with *((<myRootController object at 0x40d3c9ac>, 'login')), 
**({})
2007-07-09 08:19:17,105 turbogears.controllers DEBUG Calling <function new at 
0x40c9b924> with *((<otherController object at 0x40d3caac>,)), **({})
2007-07-09 08:19:17,110 turbogears.identity DEBUG Retrieving identity for 
visit: 7f4fde8546a80b5a9b2365adab214f976ad5155d
2007-07-09 08:19:17,110 turbogears.identity DEBUG Identity is available...
2007-07-09 08:19:17,114 turbogears.controllers DEBUG Calling <function default 
at 0x40d3ed84> with *((<myRootController object at 0x40d3c9ac>, 'login')), 
**({})
2007-07-09 08:19:17,115 turbogears.controllers DEBUG Calling <function new at 
0x40c9b924> with *((<otherController object at 0x40d3caac>,)), **({})
2007-07-09 08:19:17,121 turbogears.identity DEBUG Retrieving identity for 
visit: 7f4fde8546a80b5a9b2365adab214f976ad5155d
[...]

default from myRootController is as described in the howto.
new from the otherController is the function which needs authorization.

I've no problem accessing "new" after I logged in through /login.

Is this some misconfiguration of my routes or something else?

Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to