Please find below a snippet or error_log, my
axkit.conf file and the .xsp file that is causing the
error.
Does anyone have any pointers for me?
If anybody needs extra info then just ask (AxKit 1.6)
[Mon Nov 25 19:40:15 2002] [warn] [client 127.0.0.1]
[AxKit] Recompiling XSP script
[Mon Nov 25 19:40:15 2002] [warn] [client 127.0.0.1]
[AxKit] package
Apache::AxKit::Language::XSP::ROOT::usr::local::apache::htdocs::index_2exsp;
@Apache::AxKit::Language::XSP::ROOT::usr::local::apache::htdocs::index_2exsp::ISA
= ('Apache::AxKit::Language::XSP::Page');
use Apache;
use Apache::Constants qw(:common);
use XML::LibXML;#initialize xsp namespace
#initialize xsp namespace
return OK;
}
Script:
1 package
Apache::AxKit::Language::XSP::ROOT::usr::local::apache::htdocs::index_2exsp;
@Apache::AxKit::Language::XSP::ROOT::usr::local::apache::htdocs::index_2exsp::ISA
= ('Apache::AxKit::Language::XSP::Page');
2 use Apache;
3 use Apache::Constants qw(:common);
4 use XML::LibXML;#initialize xsp namespace
5 #initialize xsp namespace
6 return OK;
7 }
8
[Mon Nov 25 19:40:15 2002] [warn] [client 127.0.0.1]
[AxKit] Caught an exception
[Mon Nov 25 19:40:15 2002] [error] [client 127.0.0.1]
[AxKit] [Error] Compilation failed: Unmatched right
curly bracket at (eval 64) line 7, at end of line
syntax error at (eval 64) line 7, near ";
}"
AXKIT.CONF
##
## AxKit Configuration
##
PerlModule AxKit
<Directory "/usr/local/apache/htdocs">
SetHandler perl-script
PerlHandler AxKit
AddType text/xml .xsp
# PerlSetVar AxXPSInterpolate 1
Options -All +Indexes +FollowSymLinks
# Tell mod_dir to translate / to /index.xml or
/index.xsp
DirectoryIndex index.xsp
AddHandler axkit .xml .xsp
AxDebugLevel 15
AxGzipOutput On
AxAddXSPTaglib AxKit::XSP::Param
# AxAddXSPTaglib AxKit::XSP::Cookie
AxAddXSPTaglib AxKit::XSP::Util
AxAddStyleMap application/x-xpathscript \
Apache::AxKit::Language::XPathScript
AxAddStyleMap text/xsl \
Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-xsp \
Apache::AxKit::Language::XSP
# AxAddURIProcessor application/x-xsp NULL '\.xsp$'
</Directory>
INDEX.XSP
<?xml-stylesheet href="NULL" type="application/x-xsp"
?>
<xsp:page
xmlns:xsp="http://apache.org/1999/xsp/core"
xmlns:util="http://apache.org/xsp/util/v1"
>
<html>
<body>
<p>Hi! It's <util:time format="%H:%M:%S" />.</p>
</body>
</html>
</xsp:page>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]