[Moin-user] Install and images and ...

Thomas Waldmann tw at waldmann-edv.de
Mon Jul 28 09:40:21 EDT 2003

Hi Phil,

the location of MoinMoin python code and the images doesn't really 
matter - it just has to be consistent with moin_config and apache config.

All images and css are referenced by /wiki/... in the HTML code 
generated by the wiki engine (assuming standard configuration). E.g.:
/wiki/img/moin-edit.gif or

So you only have to make sure that if your web server gets a request 
beginning with /wiki/, it will be directed to the directory above img 
and css. This is what the Alias "/wiki/" is for.

The other thing that has to be done right is the web server locating the 
cgi - this is what the ScriptAlias is for (and yes, it REALLY has to be 
different, don't use /wiki for the ScriptAlias!). So you could make a 
ScriptAlias /philwiki /where/ever/it/is/moin.cgi .

In moin.cgi you have to edit the python path if the MoinMoin directory 
is not already in the PYTHONPATH. See the comments at top of the file.

That's all. Feel free to put that into the wiki ;)


More information about the Moin-user mailing list