On Tue, Jan 20, 2009 at 8:02 AM, W. Martin Borgert <deba...@debian.org> wrote:
>
> Hi,
>
> I am trying the HTTPAuth plugin with trac 0.11.1, but I'm not sure how to
> configure it. Currently my username/password are not accepted.
>
> In trac.ini I added the fields as documented in
> http://trac-hacks.org/wiki/HttpAuthPlugin#Example
>
> [account-manager]
> password_file = /var/lib/trac/myproject/.htpasswd
> password_format = htpasswd
>
> [components]
> acct_mgr.* = enabled
> acct_mgr.admin.accountmanageradminpage = enabled
> acct_mgr.api.accountmanager = enabled
> acct_mgr.htfile.abstractpasswordfilestore = enabled
> acct_mgr.htfile.htpasswdstore = enabled
> acct_mgr.web_ui.accountmodule = enabled
> acct_mgr.web_ui.loginmodule = enabled
> acct_mgr.web_ui.registrationmodule = disabled
> customfieldadmin.api.* = enabled
> customfieldadmin.customfieldadmin.* = enabled
> trac.web.auth.loginmodule = disabled
> httpauth.* = enabled
>
> [httpauth]
> paths = /xmlrpc, /login/xmlrpc, /roadmap
>
> I also applied this patch:
> http://trac-hacks.org/attachment/ticket/3100/authenticated.patch
>
> But for the roadmap page the web browser asks for my password,
> even if I'm already logged in and does not accept it. I tried
> multiple times to be sure, that I typed the right password.
>
> I use Apache 2.2.9 with AuthType Basic, Require valid-user, HTTPS.
>
> Thanks in advance for any useful hint!

Do you have logging enabled?  And if so, do you get any useful log
messages when you try to authenticate against HTTP auth?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to