On Mar 26, 10:04 pm, Neil M <[EMAIL PROTECTED]> wrote: > " Trac detected an internal error: > > Authentication information not available." > > when i try to login
Checking on Google gives me these two links: http://dev.fckeditor.net/wiki/TracFastCgi http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html I've just combined the info there to set up a simple auth scheme: python /usr/local/share/examples/trac/htdigest.py -c /path/to/where/ you/want/passwd/file 'Realm' userid <supply password twice> (I shove mine in /var/trac/projects/htpasswd and use Trac as the Realm - also specify something for the userid) chown /var/trac/projects/htdigest to whatever owner:group combination you need to so lighttpd can read it vi /usr/local/etc/lighttpd.conf in the server.modules section uncomment mod_auth somewhere in the conf file add this sort of thing (I added it after the sample auth sections): auth.backend = "htdigest" $HTTP{"url"] =~ "^/trac/" { auth.backend.htdigest.userfile = "/path/to/where/you/want/passwd/ file" } auth.require = ( "/trac/login" => ( "method" => "digest", "realm" => "Realm", "require" => "valid-user" ) ) where in my case /path/to/... is /var/trac/projects/htdigest and Realm is Trac restart lighttpd: /usr/local/etc/rc.d/lighttpd restart navigating to <baseurl>/trac/login should interrogate the browser and get you a std browser login prompt where you can login as the userid you specfied earlier on Note: supplied as-is; if it breaks your setup or anything else, it's not my fault; I had to type this in here so there may be an odd typo; YMMV; I make no comment about whether this method of authenticating is "good", "best practice" or anything else - other, better qualified, people will be able to talk about that subject; this may not be the ideal way for you to set your system up but only you can know that but the previously mentioned better qualified people may be able to answer any other questions you have. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
