Traclogin表单

我无法让HTMLlogin表单工作,而不是默认的popup式authenticationlogin表单。 这是我在我的trac.ini帐户pipe理器和组件部分:

[account-manager] generated_password_length = 8 hash_method = HtDigestHashMethod password_file = /trac/.htpasswds/passwd password_format = htpasswd password_store = HtPasswdStore [components] acct_mgr.admin.accountmanageradminpage = enabled acct_mgr.db.sessionstore - disabled acct_mgr.pwhash.htdigesthashmethod =disabled acct_mgr.web_ui.accountmodule = enabled acct_mgr.web_ui.loginmodule = enabled acct_mgr.web_ui.registrationmodule = enabled trac.web.auth.loginmodule = disabled webadmin.* enabled 

这些设置看起来是否正确?

[components]部分有几个拼写错误; 特别是,您在acct_mgr.db.sessionstore行上有一个-而不是= ,并且在webadmin行中缺less等号。 假设你正在使用Trac 0.11,webadmin现在是核心的一部分,所以你不应该明确地启用它。

如果修复这些问题并不能解决问题,请确保启用日志logging,重新启动Web服务器,再次尝试,并检查trac.log文件中的线索。

在美国营业时间,通常有人在freenode附近的#trac附近#trac