[Moin-user] Non-CGI install?

David LeBlanc whisper at oz.net
Thu Jun 13 11:29:09 EDT 2002

> -----Original Message-----
> From: moin-user-admin at lists.sourceforge.net
> [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Juergen
> Hermann
> Sent: Wednesday, June 12, 2002 22:35
> To: moin-user at lists.sourceforge.net; Uche Ogbuji
> Subject: Re: [Moin-user] Non-CGI install?
> On 12 Jun 2002 19:37:36 -0600, Uche Ogbuji wrote:
> >Is there a non_CGI way to install MoinMoin?  In particular, is there a
> >simple Python BaseHttpServer interface?
> >
> >I know Apache has its advantages, but I prefer to investigate such
> >packages as MoinMoin stand-alone first, if possible.
> python -c "import MoinMoin.httpdmain; MoinMoin.httpdmain.run()"
> Do not use this with more than one person, and don't expect everything
> to work (most things do).
> Ciao, Jürgen

This doesn't work. httpdmain attempts to serve documents from the hard-coded
default wiki name, which doesn't exist. The server runs, but it's only
serving empty pages and throwing mass amounts of tracebacks and "404" errors
on the console it was started on (windows).

I found that copying httpdmain.py to the "personal" wiki that I created per
the install.html directions would work since it picked up the wiki name from
the directory. The only drawback to this method is that it's not finding the
image files or the moinmoin.css file. Looking at the served page source,
MoinMoin is writing the img and css references relative to my wiki and not
to where they really are beneath the share directory.

Dave LeBlanc
Seattle, WA USA

More information about the Moin-user mailing list