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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_daemon.li-9322-1104677452-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

okay, thanks for investigating

> here is my apache mod_python setup. i basically just copied the=20
> moinmoin examples. FYI, the path '/usr/local/www/moin' points=20
>  to my default instance, which it needs in order to be able to=20
> import the 'wikiconfig.py' config file. I suppose that this info=20
> could be output as an informational message if=20
> MOINDEST=3DMOD_PYTHON is chosen:
>=20
> 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.

>=20
> if you want to make a new tarball available with the updated=20
> changes, i would be happy to download it and add a few basic=20
> 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
--=20
Josef El-Rayes                   (__)
Email:	  josef@daemon.li     \\\'',)=20
Web:	  http://daemon.li/     \/  \ ^
FreeBSD   Security Team         .\._/_)

--=_daemon.li-9322-1104677452-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----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-----

--=_daemon.li-9322-1104677452-0001-2--



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