Hi! I'm new to AxKit and am having some issues getting XSP pages to work. Normal XML files work great, and get translated with the appropriate XSLT stylesheets. But when I try to request an XSP file it does no processing on it because it doesn't recognize it as an XML file. Requesting the file just returns the source of the file.
With debugging on, I get this: [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] handler called for /axkit/test.xsp [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] Content Provider Override: Apache::AxKit::Provider::File [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] decoding from UTF-8 [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] [req] File Provider given $r: /opt/lsn/var/apache/tools/htdocs/axkit/test.xsp [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] checking if we process this resource [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] '/opt/lsn/var/apache/tools/htdocs/axkit/test.xsp' not recognised as XML [Fri Dec 3 10:47:59 2004] [warn] [client x.x.x.x] [AxKit] provider declined Here's the source of test.xsp: <?xml version="1.0"?> <xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core"> <output> Hello World. The time of request is: <xsp:expr>scalar localtime</xsp:expr> </output> </xsp:page> And here's what I have in httpd.conf: PerlModule AxKit <Location /axkit/> DirectoryIndex index.xml SetHandler perl-script PerlHandler AxKit AxTraceIntermediate /tmp/axtrace AxDebugLevel 10 AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT AxAddXSPTaglib AxKit::XSP::Util AxAddXSPTaglib AxKit::XSP::Param </Location> Running Apache 1.3.31, perl 5.8.5, and mod_perl 1.29 Any suggestions? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
