From:
siglun [at] gungner.lub.lu.se
Date:
Tue, 15 Oct 2002 15:36:34 +0200 (CEST)
To:
AxKit Users <axkit-users [at] axkit.org>
Subject:
Second day with AxKit
Just yesterday I managed to get an operational AxKit/Mod_perl combo
running. It works fine on the first pages I made (using the docbook
example using XPathScript). Just one annoying problem. When I turn on
style selection, the server emits an almost empty html document at the
end. See
http://bourree.lub.lu.se/SigfridLundberg/2002/HomePage/SigfridLundberg.xml
My (slightly modified) xps-files lives in
http://bourree.lub.lu.se/SigfridLundberg/xml-style-library/
The software is:
Server: Apache/1.3.27 (Unix) AxKit/1.6 mod_perl/1.27
with libxml2-2.4.24, libxslt-1.0.21 and libxml-1.8.16. The OS is Suse 8.0.
You'll find my conf file below.
Thanks in advance
Sigge
Configuration:
--------------
PerlModule AxKit
## CHANGE THIS to the location of your demo files
Alias /SigfridLundberg/ /home/sigge/WWW/
<Perl>
## CHANGE THIS as well
use lib qw(/home/sigge/WWW/);
eval {
require Apache::AxKit::Plugin::Session;
Apache::AxKit::Plugin::Session->import( '/redirect' );
};
</Perl>
## and another one, CHANGE THIS
<Directory /home/sigge/WWW/>
AllowOverride All
<Limit GET POST OPTIONS PROPFIND>
Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
SetHandler perl-script
PerlHandler Apache::AxKit::StyleChooser::QueryString AxKit
PerlHandler AxKit
<AxStyleName '#default'>
AxAddRootProcessor application/x-xpathscript
/SigfridLundberg/xml-style-library/docbook_screen.xps article
</AxStyleName>
<AxStyleName print>
AxAddRootProcessor application/x-xpathscript
/SigfridLundberg/xml-style-library/docbook_print.xps article
</AxStyleName>
AxAddPlugin Apache::AxKit::Plugin::Passthru
AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
Second day with AxKit - siglun.gungner.lub.lu.se on 15 Oct 2002 13:36:00 -0000 Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index