Hi,
I /had/ trac working great with about a dozen separate projects and
authentication *distinct between the projects* such that the set of
users was completely separated. This was under ubuntu Linux, trac
0.11, and apparently used the mod_python authentication. I didn't
actually set this up but have inherited it.
I migrated all of this trac stuff over to a new FreeBSD server,
freshly installed with trac 0.12. I have it all working to the point
where I can go to trac.mydomain.com and see a list of the projects,
and can click the project name and it brings up the trac wiki..
However, when I try to log in, I get "No handler matched request to /
login"
I'm seeing a lot of different answers online but I can't really tell
the right way forward. It sounds like I should ditch mod_python but I
honestly don't see any clear directions for how to set trac up the way
I want it (the way it was working..) Here's some info from my config
files:
Apache's httpd.conf:
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerName trac.mydomain.org
DocumentRoot "/usr/local/www/apache22/data/trac"
ErrorLog /var/log/apache2/error.trac.log
CustomLog /var/log/apache2/access.trac.log combined
<Location />
SetHandler mod_python
PythonInterpreter main
#PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/trac
PythonOption TracUriRoot /
PythonOption PYTHON_EGG_CACHE /tmp
</Location>
</VirtualHost>
Within /var/trac I have a directory for each project. Inside of these
directories I have a trac.passwd file that has my users and passwords
defined. My trac.ini has some sections that I had to add to the 0.11
sample to get things going, namely:
[account-manager]
force_passwd_change = True
generated_password_length = 8
hash_method = HtDigestHashMethod
htdigest_realm =
notify_actions = []
persistent_sessions = False
reset_password = True
password_format = htpasswd
password_store = HtPasswdStore
password_file = /var/trac/ProjectName/trac.passwd
[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.abstractpasswordfilestore = enabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.notification.accountchangenotificationadminpanel = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.emailverificationmodule = disabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = enabled
trac.web.auth.loginmodule = disabled
What is the path of least resistance to get this working properly?
I've messed with this for a few nights now and it's becoming a real
time sink and frustration.. I love trac but this seems so hard to set
up
--
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.