On Tue, 9 Nov 1999, Michael Cunningham wrote:
> I downloaded apache 1.3.9 and configured it..
> then used cpan to install the apache module.
> told it to compile apache for me..
> and then i did a make install.
>
> So I run httpd -l and I see modperl as a module now..
>
> I put this in the httpd.conf file and restarted the server
>
> <Files *.pl>
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options ExecCGI
> </Files>
>
> But it barfs saying..
>
> [Tue Nov 9 01:37:35 1999] [notice] SIGHUP received. Attempting to
> restart
> Syntax error on line 385 of /usr/local/apache/conf/httpd.conf:
> Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
> not included in the server configuration
Are you absolutely sure that you did the httpd -l on the same binary that
you are trying to start with this config file? Many beginners install
mod_perl but fail to install the new apache binary itself.
See http://perl.apache.org/guide/install.html for more.
- Perrin