In the last exciting episode of Das Internet,Chris Wenham spewed forth the
following FUD:
>
> I had a problem getting XSP programs to run until I dug around in the
> File.pm provider and made a change to a regular expression at line 143
> from:
>
> ($self->{apache}->content_type() =~ /^(text|application)\/xml/)
>
> to:
>
> ($self->{apache}->content_type() =~ /^(text|application)\/.*(xml|xsp)/)
>
>
> Before this I already had the following:
>
> AddHandler axkit .xsp
> AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
> AddType application/x-xsp .xsp
>
> But until I fudged that regexp into shape, AxKit refused to recognize
> any .xsp file as an XML file, despite the fact that all the
> documentation I can find on AxKit, as well as all the examples, are
> telling me it's supposed to be that way.
>
> Am I crazy, or was Provider/File.pm broken?
>
> I'm using the latest AxKit, built from the Apache CVS tree.
>
> Regards,
>
> Chris Wenham
> www.disenchanted.com

I went the other route...

AddType     applicaiton/x-xsp     .xsp

 in httpd.conf



-- 
/^Mic(ro|key)(shaft|slothe|suck): Wh(ere|at|o) Do You Want To
(BSOD|Extend|Extinguish|Overcharge|Purchase) Today?$/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to