moinmoin

moinmoin

Posted by: jeff_stack
Posted on: 2007-06-01 17:08:00

I am trying to get MoinMoin 1.5.8 installed.

I have everything running fine but am no able to get any themes working.

My directory structure is running moin.cgi
from /home/username/domainname.com/cgi-bin/moin.cgi

The moin.cgi points to my config files at /home/username/wikifarm/config

MoinMoin was installed in the /home/username/
so I have
/home/username/share/moin
/home/username/lib/python/MoinMoin
ect.

I wonder if my problem is due to being in a directory above my domainname.com?

I am fumbling my way throught the install using:
http://wiki.dreamhost.com/MoinMoin
http://forum.dreamhosters.com/3rdparty/11673-Need-help-MoinMoin-wiki-installation.htm
http://www.wombatnation.com/misc/installMoinMoinDreamHost.html

Note that the above links will not work for 1.5.8, you have do set up stuff differently. I am documenting as I go and will post the changes here.

I am of course also trying to use the official documentation but it is really bloody cryptic.
http://moinmoin.wikiwikiweb.de/MoinMoin/InstallDocs

I have tried using both the farmconfig.py as well and disabling it and simply using wikiconfig.py

Any pointers?




Re: moinmoin

Posted by: jeff_stack
Posted on: 2007-06-02 13:42:00

Ok,

I got it running using the new directions at:
http://wiki.dreamhost.com/MoinMoin

I end up with a a working site at:
wiki.domain.com/wiki.cgi

However when I simply type wiki.domain.com I get a directory list instead of running the .cgi.

Is there a way to edit the .htaccess to forward automatically from wiki.domain.com/to wiki.domain.com/wiki.cgi and www.wiki.domain.com/ to www.wiki.domain.com/wiki.cgi

Thanks


Re: moinmoin

Posted by: patricktan
Posted on: 2007-06-02 18:40:00

You may want to use htaccess to achieve this.

You can also use PHP header functions to achieve this.

<?php
header("Location: wiki.domain.com/wiki.cgi");
?>

make sure to place the php codes at the begging of the page before any html codes.

Re: moinmoin

Posted by: jeff_stack
Posted on: 2007-06-03 06:41:00

I have currently been using:
Redirect 301 /index.html http://wiki.domianname.com/wiki.cgi

In the .htaccess and it seems to be working. Is this what you were suggesting adding to the .htaccess or something more elegant.

Is there a preferance of using PHP vs the above .htaccess code?

I'm new to this so I appreciate the help.

Re: moinmoin

Posted by: patricktan
Posted on: 2007-06-03 21:34:00

In reply to:

Is this what you were suggesting adding to the .htaccess or something more elegant.


Yes.

It is better to do the redirect using htaccess file. By doing so, users are redirected before the page is loaded. It is faster.

Tags: moinmoinmoindreamhostconfig filespywikidirectory structurethroughtpointerspythoncgi binlibmoinmoinmoindreamhostconfig filespywikidirectory structurethroughtpointerspythoncgi binlib