On Wednesday August 27 2003 06:10 pm, Matt Sergeant wrote:
> On Wednesday, 27 August 2003, at 23:59, Ian Eure wrote:
> > Hi, I'm trying to get XSP working. I'm following the perl.com AxKit
> > articles.
> >
> > When I request a .xsp page, I just get the raw .xsp file instead of the
> > processed output.
>
> You need to tell Apache that XSP pages are XML:
>
> AddType text/xml .xsp
>
It's still getting served up by Apache::AxKit::Provider::File, and not parsed.
the logs now say:
-- snip --
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] handler called for
/~ieure/ax/hello.xsp
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] Content Provider
Override: Apache::AxKit::Provider::File
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] decoding from
UTF-8
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] [req] File
Provider given $r: /home/ieure/public_html/ax/hello.xsp
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] checking if we
process this resource
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] media: screen,
preferred style: #default
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] Cache: key =
804349189cb7362bce5c123ad6875177
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] getting styles and
external entities from the XML
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] styles not cached
- calling $provider->get_styles()
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] using XS
get_styles (libxml2)
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] encoding to UTF-8
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] calling
xs_get_styles_fh()
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] calling
xs_get_styles_str()
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] xs_get_styles
returned: , , {http://www.apache.org/1999/XSP/Core}page
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] Calling
GetMatchingProcessors with (screen, , , ,
{http://www.apache.org/1999/XSP/Core}page)
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] Caught an
exception
[Thu Aug 28 10:10:28 2003] [warn] [client (client)] [AxKit] [DECLINED] From:
/usr/share/perl5/Error.pm : 148
-- snip --
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]