I successfully installed MoinMoin as a CGI according to the instructions on the moinmo.in site. But when I tried to switch over to running it under wsgi it failed thusly:
[Sat Dec 27 21:44:14 2008] [error] [client 66.214.189.2] Traceback (most recent call last): [Sat Dec 27 21:44:14 2008] [error] [client 66.214.189.2] File "/www/wikis/genesisgroup/moin.wsgi", line 49, in ? [Sat Dec 27 21:44:14 2008] [error] [client 66.214.189.2] from MoinMoin.server.server_wsgi import WsgiConfig, moinmoinApp [Sat Dec 27 21:44:14 2008] [error] [client 66.214.189.2] ImportError: No module named MoinMoin.server.server_wsgi The problem, I believe, is that I have both Python 2.4 and 2.5 installed (it's a Debian box) and MM is installed under 2.5 but WSGI is using 2.4. I tried to fix this by setting WSGIPythonHome but to no avail. I can't figure out what to set it to. The instructions say: "the WSGIPythonHome directive should be used to specify the exact location of the Python installation corresponding to the version of Python compiled against" I have two problems with this. First, I didn't compile mod_wsgi, I got it pre-built as a Debian module. Second, what does "the exact location of the Python installation" even mean? Python2.5 is spread out in at least three different places: /usr/local/bin, /usr/lib/python2.5, and /usr/local/lib/python2.5. I've tried setting WSGIPythonHome to all of those (and a few other things as well) and nothing worked. Also, "the version of Python compiled against" seems very odd. What does that mean? Surely I don't have to recompile mod_wsgi every time I change to a new version of Python? Help! Thanks! rg -- http://mail.python.org/mailman/listinfo/python-list