Hi there
I'm trying to get AxKit running and have installed all prerequisite modules
from source and the odd one from an rpm. I also built Apache+mod_perl from
source, so theoretically I should be able to get AxKit up and running, but
alas, I've been hacking around in my httpd.conf for some time now without
success :-(
I have other code running under mod_perl, so the (mod_perl) install is OK.
I've included as much info as I thought necessary below - let me know if
any of you need more detail. Thanks.
Red Hat 7.2 (Kernel 2.4.7-10)
Apache 1.3.26
mod_perl 1.27
Sablot-0.95
perl 5.6.0
Compress-Zlib-1.16
Error-0.15
libapreq-1.0
XML-Parser-2.30
XML-XPath-1.12
HTTP-GHTTP-1.07
XML-Sablotron-0.90
XML-LibXML-1.52
XML-LibXSLT-1.50
XML-SAX-0.10
File-Temp-0.12
AxKit-1.6
This is my output from: perl Makefile.PL for AxKit
[root@samadhi AxKit-1.6]# perl Makefile.PL
checking for module mod_perl >= version 1.17... yes
checking for module Digest::MD5 >= version 2.09... yes
checking for module Compress::Zlib >= version 0... yes
checking for module Error >= version 0.14... yes
checking for module Apache::Request >= version 0.31_03... yes
checking for module XML::Parser >= version 2.27... yes
checking for module XML::XPath >= version 1.00... yes
checking for module HTTP::GHTTP >= version 1.00... yes
checking for module XML::Sablotron >= version 0.40... yes
checking for module XML::LibXML >= version 1.50... yes
checking for module XML::LibXSLT >= version 1.49... yes
running xml2-config... ok
looking for -lxml2... yes
checking for iconv() in -liconv... no
checking for libiconv() in -liconv... no
checking for iconv() in -lc... yes
Writing Makefile for Apache::AxKit::CharsetConv
Writing Makefile for AxKit
/etc/httpd/httpd.conf (relevant stuff):
....
LoadModule perl_module libexec/libperl.so
Include /etc/httpd/mod_perl.conf
....
<IfModule mod_mime.c>
...
AddHandler axkit .xml
AddHandler axkit .xsp
AddHandler axkit .dkb
...
</IfModule>
...
NameVirtualHost *
...
<VirtualHost *>
ServerName axkit.localdomain
DocumentRoot /home/httpd/sites/axkit.org
<Directory /home/httpd/sites/axkit.org>
SetHandler AxKit
AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
AxDebugLevel 4
Options None
Order allow,deny
Allow from all
</Directory>
CustomLog /var/log/httpd/axkit.org_access.log common
ErrorLog /var/log/httpd/axkit.org_error.log
</VirtualHost>
/etc/httpd/mod_perl.conf :
PerlModule AxKit
I get this error, unless I remove all AxAdd... and the AxDebugLevel lines:
Starting httpd: Syntax error on line 494 of /etc/httpd/httpd.conf:
Invalid command 'AxAddStyleMap', perhaps mis-spelled or defined by a module not
included in the server configuration [FAILED]
I've even placed the axkit.org dir as .../axkit/ in the default server
section - also nothing..
Any suggestions, errors noticed etc?
Thanks
Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]