[Moin-user] 1.3.1 and mod_python

Roger Haase crosseyedpenguin at yahoo.com
Thu Dec 30 09:52:00 EST 2004


--- Kevin Kleinfelter <moin-user at kleinfelter.com> wrote:

> I can *almost* get 1.3.1 to work w/mod_python. CGI works fine.  When
> I access http://myserver/myinstance, it loads FrontPage as
> expected. When I access http://myserver/myinstance/HelpContents, it
> loads FrontPage. To really load HelpContents I have to enter
> http://myserver/myinstance/anything-here/HelpContents.
>  
> My setup:
> * Fedora 3, Apache 2, mod_python new enough to have the bug fixed
> * httpd.conf contains
> <Directory "/usr/local/wikis/myinstance>
>   Order allow,deny
>   Allow from all
>   AllowOverride all
> </Directory>
> <Location /myinstance>
>   SetHandler python-program
>   PythonPath "['/usr/local/wikis/myinstance']+sys.path"
>   PythonHandler MoinMoin.request::RequestModPy.run
> </Location>
>  
> I'm stumped!
> Kevin Kleinfelter
> Programming Manager, Atlanta  / IT Lead, Wells Fargo Projects
> Regulus Group, LLC
> 770-806-2476
> 
> 

I could not reproduce your symptoms with Windows/XP and Moin 1.2.4. The
directory statement should do no harm (it has an unmatched double
quote) unless you also have a ScriptAlias statement pointing to it left
over from using cgi. Double check that and comment any remaining
ScriptAlias and the directory statement out. 

The docs for installing Moin with mod_python are a mess. This may be
partly Apache's fault with so many alternatives that end up doing much
the same thing: Directory, Files, Location, and .htaccess files. As I
am locked out of updating the Wiki master and underlay files, I can
only add to the confusion here.



More information about the Moin-user mailing list