Folks,

I am just starting out with mod_perl and apache and i am a bit
confused on the installation. Maybe some can give me some tips.
I have read all the info on the modperl apache.org site but
I am still lost. 

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

I suppose I need something else in the httpd.conf but I am perplexed as to
what.

I eventually would like to use mod_perl to access a mysql database
for dynamic document generation and authentication..cookies..etc.. Does
the bundle contain everything I need or should I grab some other cpan modules?

This stuff looks really neat and seems like a great project but I am 
lost horribly. As you can tell this is my frist step out of running a 
totally static web page. 

Thanks for any info you can offer. 

Mike
--
Friends help you move. Real friends help you move bodies.

Reply via email to