[root@dreamserver temp]# www configtest
Syntax error on line 803 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 installed apache_1.3.9 with mod_perl-1.26. It was then followed up
HTML-Embperl. I added this section into my apache configuration file to
execute embedded perl scripts:

<IfModule mod_perl.c>
    PerlFreshRestart On
    PerlInitHandler Apache::StatINC
    Perlrequire /usr/local/apache/etc/perl/startup.perl
    PerlModule Apache::Registry
    PerlModule Apache::Status
    PerlModule Apache::Leak
    PerlModule Apache::DBI
    PerlModule Apache::AuthDBI
    PerlModule Apache::OutputChain
    PerlModule Apache::EmbperlChain
    PerlModule HTML::Embperl
    PerlModule DBI
    PerlModule DBD::mysql

<Files ~ "\.phtml$">
    SetHandler perl-script
    PerlHandler HTML::Embperl
    Options ExecCGI
    Order allow,deny
    Allow from all
</Files>

AddType text/html .phtml

</IfModule>


Any help appreciated.


Regards,
Kok Wei Koh



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to