You haven't setup a mapping for it. You need to explicitly let AxKit know that it should process this file in some way. Either by adding in <?xml-stylesheet type="application/x-xsp" href="NULL"?>, or by adding in config directives to achieve the same.
----- Original Message ----- From: "Chien-Kang Huang" <[EMAIL PROTECTED]> To: "John Napiorkowski" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 1:14 AM Subject: Re: Using XSP on Win2000 > I just don't know what's wrong with the axkit. > The Apache server output the source of .xsp files directly, > without executing any perl expression in the .xsp file. > > C.K. > > John Napiorkowski wrote: > > > Are you using the activestate distribution? I was > > able to get this to work a few months ago, with a lot > > of trouble, on win2000, but I had to install pretty > > much everything from that ppm respository Matt points > > us to in his FAQ. > > > > I'll dig around and see if I can find my apache config > > file. > > > > __John > > > > --- Chien-Kang Huang <[EMAIL PROTECTED]> > > wrote: > > > >>I set my Apache server as the following. > >> > >>LoadModule perl_module modules/mod_perl.so > >> > >># > >># AxKit configuration > >># > >>Alias /AxKit/ "C:/local/Apache Group/Apache/AxKit/" > >>PerlModule AxKit > >><Location /AxKit> > >> SetHandler perl-script > >> PerlHandler AxKit > >> > >> AxDebugLevel 10 > >> AxLogDeclines On > >> > >> AxAddStyleMap text/xsl > >>Apache::AxKit::Language::Sablot > >> AxAddStyleMap application/x-xpathscript > >>Apache::AxKit::Language::XPathScript > >> AxAddStyleMap application/x-xsp > >>Apache::AxKit::Language::XSP > >></Location> > >> > >>Try the following XSP file as sample. > >> > >><xsp:page > >>xmlns:xsp="http://www.apache.org/1999/XSP/Core" > >> xmlns="uri://axkit.org/NS/MyHomePage" > >> language="Perl"> > >> <page> > >> <body> > >> <heading>Hello World</heading> > >> It is now: <xsp:expr>scalar localtime</xsp:expr> > >> </body> > >> </page> > >></xsp:page> > >> > >>Unfortunately, the XSP does not work. > >>Except for the XSP, the XSLT and XPathScript can > >>work properly. > >>Could anyone give me a help on XSP settings? > >> > >>C.K. > >> > > > > --------------------------------------------------------------------- > 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]
