Hello,
If anyone is interested, according to HelpOnConfiguration/ApacheVoodoo,
no one has figured out how to get a root mod_python wiki without using
the moinmodpy wrapper script.
The key seems to be to pass in 'PythonOption Location "/"' so that
MoinMoin can link correctly.
Here's my config:
####################################
RewriteEngine On
# don't catch any of our static URLs
RewriteCond %{REQUEST_URI} !^/moin_static160.*
RewriteCond %{REQUEST_URI} !^/robots.txt$
RewriteCond %{REQUEST_URI} !^/favicon.ico$
# everything else goes to the wiki
RewriteRule ^/?(.*)$ /var/www/wikifarm/$1
<Directory /var/www/wikifarm>
SetHandler python-program
PythonOption Location "/"
PythonPath "['/var/www/wikifarm'] + sys.path"
PythonHandler MoinMoin.request.request_modpython::Request.run
</Directory>
####################################
I'd thought I post it here before committing it to MoinMaster
-jim
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user