Hi all,

I know this is a recurring problem but bear with me ...

Outputs:

httpd -l
Compiled-in modules:
http_core.c
mod_so.c
mod_perl.c

Now, when i try to add the usual:
<Location /cgi-bin/b*.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options -Indexes ExecCGI
PerlSendHeader On
</Location>

I also get the usual:
Syntax error on line 1141 of /usr/local/apache/conf/httpd.conf:

Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
not included in the server configuration

How can this be when the mod_perl module is clearly compiled in the binary
(and without errors).
Compiled in as:
MOD_PERL:

perl Makefile.PL \
APACHE_SRC=/usr/local/src/apache_1.3.26/src \
NO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1

make
make install


APACHE
./configure \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-module=most \
--activate-module=src/modules/perl/libperl.a

make
make install

Any adivce on this????

PETER.

Reply via email to