Moinmoin

apps

#1

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://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?


#2

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


#3

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.

Save $97 with promo code: [color=#CC0000]97YES Sign Up NOW[/color]


#4

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.


#5

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.

Save $97 with promo code: [color=#CC0000]97YES Sign Up NOW[/color]