What does test.xml look like? Cheers.
On Sun, Nov 10, 2002 at 02:21:03PM +0000, Ian Gregory wrote: > > Hi there, > > Hopefully this will get through as my last couple of messages have > bounced. > > I've installed Axkit on OpenBSD 3.2 from the port on > http://archives.neohapsis.com/archives/openbsd/2002-08/0504.html > > However, when I request a page that is processed through AxKit, the > connection is closed before any data is sent: > > bash# GET http://127.0.0.1/xml/test.xml > <HTML> > <HEAD><TITLE>An Error Occurred</TITLE></HEAD> > <BODY> > <H1>An Error Occurred</H1> > 500 EOF instead of reponse status line > </BODY> > </HTML> > > The Apache error log shows: > > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] handler > called for /xml/test.xml > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] checking if > we process this resource > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] media: > screen, preferred style: #default > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] Cache: key > = c19cc1ed2723e4a0933e9352cc41de5d > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] getting > styles and external entities from the XML > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] styles not > cached - calling $provider->get_styles() > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] using XS > get_styles (libxml2) > [Sat Nov 9 18:40:02 2002] [warn] [client 127.0.0.1] [AxKit] calling > xs_get_styles_fh() > > It ends there. The relevant bit of my httpd.conf is: > > ## > ## AxKit Configuration > ## > > PerlModule AxKit > > <Directory "/var/www/htdocs/xml/"> > Options -All +Indexes +FollowSymLinks > > # Tell mod_dir to translate / to /index.xml or /index.xsp > DirectoryIndex index.xsp > AddHandler axkit .xml .xsp > AxDebugLevel 10 > AxGzipOutput On > AxAddXSPTaglib AxKit::XSP::Util > AxAddStyleMap application/x-xsp \ > Apache::AxKit::Language::XSP > </Directory> > > > Does anyone have any suggestions? I've tried recompility apache (without > expat) and mod_perl but with no sucess... > > > Cheers, > > -- > Ian > http://www.ians-net.co.uk > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
