Hi all,
I've got an Apache reverse proxy that I'm trying to use with mod_auth_mellon to authenticate users on our trac instance using HttpAuthStore. AccountManager is v0.6 (installed using "pip install TracAccountManager"). Trac is version 1.6. I'm able to get HtDigestStore to work fine, but everytime I try to use HttpAuthStore the page returns an error: "No handler matched request to /authFile"
I have the LogLevel set to DEBUG. But I see nothing in the logs.
I have MellonDiagnostics enabled. It seems to be working as expected.
tracd is running inside a container using the "--single-env" with the project url at root.
My trac config for AccountManager with HttpAuthStore:
[components]
trac.web.auth.loginmodule = disabled
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.http.* = enabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.resetpwstore = disabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = disabled
acct_mgr.notification.* = disabled
acct_mgr.pwhash.* = disabled
acct_mgr.register.* = disabled
acct_mgr.svnserve.svnservepasswordstore = disabled
[account-manager]
password_store = HttpAuthStore
authentication_url = /authFile
I've tried with both acct_mgr.web_ui.* enabled and disabled as I'm not sure if it is required. It made no difference in my testing.
My config for Apache uses a virtual host :
<Location /authFile>
AuthType Mellon
MellonEnable auth
Require valid-user
</Location>
I've left out the configuration for <Location /> where i set the other Mellon config such as metadata. I can add if anyone thinks it could be relevant.
Any idea what I am missing?
Cheers,
Adrian