Installing Trac on Windows under Apache 2.2?

Posted by Warren P on Super User See other posts from Super User or by Warren P
Published on 2012-06-15T17:59:18Z Indexed on 2012/06/19 21:19 UTC
Read the original article Hit count: 359

Filed under:
|
|
|

Trac is a python-powered bug-tracking and project-management app. According to Trac's wiki, there are several options for installing Trac, a standalone server (tracd), or under a dedicated webserver using one of these options:

FastCGI - Not available on windows. mod_wsgi - No version of mod_wsgi available for Apache 2.2.22 and Python 2.7.3-amd64 that actually runs on my system! mod_python - no longer recommended, as mod_python is not actively maintained anymore) CGI -should not be used, as the performance is far from optimal)

That leaves me with zero ways to run Trac on Windows.

Apache 2.2.22 with ModWSGI loading, crashes the Apache2.2 service on startup without any error logs. Disabling the line in the apache configuration to load mod_wsgi restores sanity.

I just want an installation of Trac on windows with Authentication enabled. I am unable to get authenetication to work using basic tracd like this:

tracd -p 8000 --basic-auth="c:\tmp,c:\tmp\Passwords.md5.txt,mycompany" c:\tmp\RootFolder

And I am unable to get Mod_WSGI installed. I'm going to keep trying to figure out a combination that works, I suspect I should have installed 32 bit python instead of 64 bit python, to start with. Did I do wrong to install Python 64 bit 2.7.3? I tried again with all 32 bit components, and still can't get MOD_WSGI to work with apache 2.2.22. I'm going to try to compile mod_wsgi myself with Visual C++ Express 2010, but it seems to me that it ought to be easier than this to get Trac running on windows, with authentication.

Is there a way to run Trac on Windows, under Apache, with authentication?

The last "Trac on windows" article died in 2008, leaving only this internet archive link for "Trac on windows" setup.

© Super User or respective owner

Related posts about apache

Related posts about python