Hi,
Not sure of the internals at work, but when I installed my latest
project on the production machine, identity stopped working.
It turned out that when the hostname was set to
localhost.localdomain, the TG config worked fine,
but when it changed to a real DNS name with
a different domain, I started getting '500 internal server error'.
The TG startup log was displaying
Failed to connect to server: Invalid host name
although the identity tables were found OK
The problem only showed up when somebody tried to login.
Adding ".localdomain" (in prod.cfg / dev.cfg)
fixed the problem:
sqlobject.dburi="mysql://user:[email protected]/database"
server.socket_host="localhost.localdomain"
Andy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---