Description
Hi, today I tried to install moinmoin with some success but one thing is failing for me. When used as cgi it allworks fine ( i.e I go to http://x.x.x.x/wiki and everything is rendered and when I point to HelpContents i get http://x.x.x.x/wiki/HelpContents and clicking that just works.) However when I comment out ScriptAlias from apache and enable mod_python and restart Apache and go to http://x.x.x.x/wiki, everything is rendered, but link names are not correct, I have to click them twice to get to page, for example:
http://x.x.x.x/wiki//MasterClawDocumentation/MasterClawDocumentation ( I have to click twice on the MasterClawDocumentation /which is FrontPage/ to make everything working).
all other pages are now available at:
http://x.x.x.x/wiki//MasterClawDocumentation/HelpContents
Steps to reproduce
installed wiki as mod_python (http://moinmo.in/HelpOnInstalling/ApacheWithModPython)
go to http://x.x.x.x/wiki
all links are generated as http://x.x.x.x/wiki//something/something/thenSomething
Example
My apache config:
#wiki Alias /moin_static163/ "/usr/share/moin/htdocs/" # ScriptAlias /wiki "/var/www/wiki/moin.cgi" <Directory /usr/share/moin/htdocs> Order allow,deny allow from all </Directory> <Location /wiki/> SetHandler python-program PythonPath "['/var/www/wiki'] + sys.path" PythonHandler MoinMoin.request.request_modpython::Request.run PythonInterpreter moinwiki </Location>
Component selection
- general
Details
MoinMoin Version |
1.6.3 |
OS and Version |
ubuntu hoary 8.04 |
Python Version |
2.5.2 |
Server Setup |
Apache 2.2.8 |
Server Details |
Normal setup + moinmoin 1.6.3 from tar.gz |
Language you are using the wiki in (set in the browser/UserPreferences) |
en |
Workaround
Discussion
This looks like a mod_python issue. In newer versions you should use mod_wsgi. You have a configure failure because of the double / after wiki http://x.x.x.x/wiki//MasterCl -- ReimarBauer 2009-11-27 19:52:48
Plan
- Priority:
- Assigned to:
- Status: mod_wsgi is successor of mod_python. The bug description is outdated because of that
bug