Subject: Re: mod_perl under netbsd-3
To: Jean-Michel Caricand <jean-michel.caricand@laposte.net>
From: Stefan 'Kaishakunin' Schumacher <stefan@net-tex.de>
List: netbsd-users
Date: 11/15/2005 20:42:24
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Also sprach Jean-Michel Caricand (jean-michel.caricand@laposte.net)
> I've installed ap-perl on my server. Apparently, apache package doesn't s=
upport mod_perl because it doesn't start when I add this line in httpd.conf
>=20
> LoadModule perl_module lib/httpd/mod_perl.so
>=20
> If I add :
> <IfDefine HAVE_PERL>
>    LoadModule perl_module lib/httpd/mod_perl.so
> </IfDefine>
>=20
> It start but I don't have mod_perl functionality !

Strange, I have apache and apache2 running on netbsd-3 and netbsd-2,
all with ap-perl w/o problem.

Are there any errors in apache's errorlog?=20
Have you enabled debugging for mod_perl? Both support debug messages,
see [1] or [2]

> How I do to rebuild apache package to support mod_perl ?

If you want to rebuilt it, simply deinstall apache and
ap-perl and run ``make install clean'' from ap-perl, it will build apache,
too since it is depending on it.  ``make show-installed-depends''
lists depends of a package. However, I don't think this will solve the
problem, since Apache is by default configured to support ap-perl.

[1] http://perl.apache.org/docs/1.0/guide/config.html#Debugging
[2] http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html#Debugging
--=20
PGP FPR: CF74 D5F2 4871 3E5C FFFE 0130 11F4 C41E B3FB AE33
--=20
Der Geist des Kriegers sollte mit Beginn des Neujahrstages bis zum Ende=20
des Jahres vom Gedanken an seinen Tod beherrscht werden.

Daijouji Shigesuke in "Budo Shoshin Shuu"

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDejofEfTEHrP7rjMRAgfQAKCCvBfWiMWlcwGDkRBYjlm/YU5YMACfQ6N/
3Wji60Mq3nS1ZydagxBmGK4=
=lABv
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--