I added these lines:
<Perl>
use lib '/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers';
</Perl>
PerlModule Recipes
<Location /go/>
SetHandler perl-script
PerlHandler Recipes
Options +ExecCGI
PerlSendHeader On
allow from all
</Location>
Now im getting this error on the httpd-error.log file:
Syntax error on line 691 of /usr/local/etc/apache/httpd.conf:
Can't locate Image/Magick.pm in @INC (@INC contains:
/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers
/usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local/
/usr/local/lib/perl) at
/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers/RecipeTool.pm
line 6.
BEGIN failed--compilation aborted at
/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers/RecipeTool.pm
line 6.
Compilation failed in require at
/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers/Recipes.pm
line 6.
BEGIN failed--compilation aborted at
/usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers/Recipes.pm
line 6.
Compilation failed in require at (eval 9) line 3.
--
View this message in context:
http://www.nabble.com/Making-.pm-files-run.-tf3016257.html#a8394174
Sent from the mod_perl - General mailing list archive at Nabble.com.