Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2005 14:50:52 +0000
From:      Josef El-Rayes <josef@FreeBSD.org>
To:        Sam Nilsson <sam@servingpeace.com>
Cc:        ports@freebsd.org
Subject:   Re: [RFC] moinmoin update to 1.3.1
Message-ID:  <20050102145051.GC8236@daemon.li>
In-Reply-To: <41D723CC.8030701@servingpeace.com>
References:  <20041231145811.GE23620@daemon.li> <41D5ED89.1040808@servingpeace.com> <20050101160543.GA2646@daemon.li> <41D723CC.8030701@servingpeace.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Sam Nilsson <sam@servingpeace.com>:
> i found that for the mod_python setup, you don't need to copy 
> any files to the "servers" directory since mod_python just runs 
> directly from the MoinMoin package in the python site-packages 
> directory.
> 
> i really have no idea about how twisted servers run. maybe like 
> mod_python, right from the twisted packages in site-packages, 
> but i don't know.

okay, thanks for investigating

> here is my apache mod_python setup. i basically just copied the 
> moinmoin examples. FYI, the path '/usr/local/www/moin' points 
>  to my default instance, which it needs in order to be able to 
> import the 'wikiconfig.py' config file. I suppose that this info 
> could be output as an informational message if 
> MOINDEST=MOD_PYTHON is chosen:
> 
> Alias /moin /usr/local/www/moin
> <Location "/moin">
>         SetHandler python-program
>         PythonPath "['/usr/local/www/moin'] + sys.path"
>         PythonHandler MoinMoin.request::RequestModPy.run
>         PythonAutoReload On
>         PythonDebug On
> </Location>

i modified the Makefile according to your information.
i took a default apache2 config, added your alias, and
the port copies it into $EXAMPLESDIR after
installation, so people can take it as a help when
setting up this kind of moinmoin instance.

> 
> if you want to make a new tarball available with the updated 
> changes, i would be happy to download it and add a few basic 
> clarifications to the docs.

i updated the tarball[1]. i did some additional changes like
setting permissions and ownership. it may need some
further tweaking.

greets, josef

[1] http://people.freebsd.org/~josef/stuff/moinmoin.tar.gz
-- 
Josef El-Rayes                   (__)
Email:	  josef@daemon.li     \\\'',) 
Web:	  http://daemon.li/     \/  \ ^
FreeBSD   Security Team         .\._/_)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iQEVAwUBQdgKS1nFItmnnbU8AQLYzAf/a5uvUNMIS/pTJB1YQSrZlcBZsPS6aSYn
QaT8tX28A7ovIcp6ZfMty+hTaT4JhN8McqYM45IuEhBWLw/tjGIIk1KyrW0OGlKr
E8/PJy3a/V7rthyxqbEjFLrt0kmsOZthyrdXiOBaQSjW6s5dbd5HtmRPyC4bg08M
HgElX/WxOGxdjrhzKwcsyQtLH9UA/7Y96Nypg1tD+L6b12fSk1N5LqlfDzZGpv6q
EbN94pzG+Xdo5Fau4BjJiFfwk4b0UjUad6Q6PZLyjdqSbTQq0oHsLwIXaob/5mO2
CZtIPJip1rYCm2bH9Z+n7mtOJvyLZNrjGwzS9K+2lOAr0WkMJu8Z5A==
=ENX+
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050102145051.GC8236>