[Moin-user] Trying to set up moinmoin on lighttpd
Preben Randhol
randhol+moinmoin at pvv.org
Thu Feb 1 19:40:18 EST 2007
On Fri, 02 Feb 2007 01:23:01 +0100
Preben Randhol <randhol+moinmoin at pvv.org> wrote:
> Hi
>
> I'm trying again to setup moinmoin to run with fastcgi on lighttpd. I
> have tried to follow the recipe of the moin installation pages, but I
> cannot get it to work...
>
> I get: 500 - Internal Server Error
>
> and in the lighttpd log I get:
>
> 2007-02-02 00:49:05: (log.c.75) server started
> 2007-02-02 00:49:09: (mod_fastcgi.c.2533) FastCGI: header.type not
> handled: 70 2007-02-02 00:49:09: (mod_fastcgi.c.2409) unexpected
> end-of-file (perhaps the fastcgi process died): pid: 6584 socket:
> tcp:127.0.0.1:2202 2007-02-02 00:49:09: (mod_fastcgi.c.3194) response
> not received, request sent: 804 on socket: tcp:127.0.0.1:2202
> for /ourwiki , closing connection
> ===================================================================
AAAAARGGGG!!!
I found the error by running:
python /etc/moin/ourwiki.py
it was that vim used TAB for indentation and not spaces as the config
file uses so python crashed on the file.
OK now I have written a function for vim that automatically sets tab to
spaces or tabs depending on what is already used in a python file to
avoid this in the future... 2 hours of hairpulling down the drain...
Next is to figure out how to get a better theme installed but firstly:
Good night!
Preben
More information about the Moin-user
mailing list