I have the following config for httpd.conf
PerlModule AxKit
<Directory /home/jon/public_html/xml>
SetHandler perl-script
PerlHandler AxKit
# Setup style type mappings
AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
AxAddStyleMap application/x-xpathscript \
Apache:AxKit::Language::XPathScript
# Optionally setup a default style mapping
#AxAddDefaultStyleMap /default.xsl text/xsl
# Optionally set a hard coded cache directory
#AxCacheDir /
</Directory>
When I start Apache, I get:
Syntax error on line 357 of /home/jon/www/conf/httpd.conf:
Can't locate loadable object for module Apache::Log in @INC (@INC contains:
/usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i586-linux
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .
/home/jon/www/ /home/jon/www/lib/perl) at
/usr/local/lib/perl5/site_perl/5.6.0/i586-linux/mod_perl.pm line 14
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.6.0/i586-linux/AxKit.pm line 9.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.0/i586-linux/AxKit.pm line 9.
Compilation failed in require at (eval 3) line 3.
I think I have the latest versions of everything. I don't understand the
error message.
Jonas Nordstrom