Subject: apache 1.3 crashing when I enable PERL?
To: NetBSD Users Mailing List <netbsd-users@NetBSD.org>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 04/21/2007 14:01:25
Hi!

OK... So I have a nicely running Apache 1.3 server. Has SSL, PHP, MySQL...

Now I want to add PERL.

PERL 5 is already built on my system... so I go to ap-perl and make 
install...

Then I add the magic to httpd.conf :

LoadModule perl_module lib/httpd/mod_perl.so
<Files ~ "\.pl$">
  PerlHandler         Apache::Registry
  PerlSendHeader      On
  SetHandler          perl-script
  Options             +ExecCGI
</Files>

Now, when I start apache, I get a core dump :

bash-3.2# /etc/rc.d/apache start
[1]   Abort trap (core dumped) ${HTTPD} -DSSL
/usr/pkg/sbin/apachectl startssl: httpd could not be started
bash-3.2#

Any idea of what I'm missing?

Thanks in advance,
Gilles.