Hi, I recomend you to stick with the Wiki docs.
Anyway here is my httpd.conf - it works perfectly for me:
NameVirtualHost *
PerlModule AxKit
<VirtualHost *>
ServerName test.com
DocumentRoot /home/test
<Directory "/home/test">
Options -All +FollowSymLinks
DirectoryIndex index.xsp
AddHandler AxKit .xml .xsp
AxDebugLevel 10
AxGzipOutput on
AxCacheDir /tmp
AxLogDeclines On
<Files *.xsp>
AxAddProcessor application/x-xsp .
AxAddProcessor text/xsl main.xsl
</Files>
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::Param
AxAddXSPTaglib AxKit::XSP::Exception
AxAddXSPTaglib AxKit::XSP::WebUtils
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
</Directory>
CustomLog /home/test/LOGFILE combined
ErrorLog /home/test/ERRLOG
</VirtualHost>
I recomend you using virtual hosts even for testing purposes. The part with the
<Files> directive makes AxKit transform all .xsp files first with the XSP processor
and then through a main XSL stylesheet. The <Files> approach I like very much - it
keeps your .xsp code clean from transforming directives.
If this doesn't help it will be useful to see what your error log says - set
AxDebugLevel to 10 and give us the resulting error log. Also compile apache without
PHP because there are problems running PHP and mod_perl statically compiled in the
same apache server (it is a problem with some shared mysql libraries as far as I know,
try to search for this in google).
Regards,
Pavel
----- Original Message -----
From: V Shah
To: [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 9:17 AM
Subject: can't get axkit working
Just installed AxKit 1.6 via CPAN on Solaris 9/sparc, Apache 1.3.27,
mod_perl 1.27. I'm trying to get some quick test examples working, but
haven't seen any success yet.
Following the instructions from the INSTALL document, I added the following
directives to the end of my httpd.conf:
PerlModule AxKit
SetHandler axkit
AxCacheDir /tmp/axkit_cache/
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT