Peter McGarvey wrote:
Greetings,

I've got a bit of a problems with AxKit, and I was wondering if someone
could give me a few pointers.  The problem is that when I enable AxKit,
bits of Apache break.

I first noticed it with some PHP bits I've got installed.  PHP stopped
working completely, if I clicked on a link to a PHP script the source
would be downloaded.  I got around this by running AxKit on a different
virtual server.

This is the Apache config that I use to get AxKit running

    PerlModule AxKit
    SetHandler AxKit
    AxDebugLevel 10
    AxGzipOutput On
    AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT

At the very least, use AddHandler instead of SetHandler

AddHandler axkit .xml .xsp <whatever else you need>

Or use a File's block to limit AxKit's scope:

<Files *.xml>
SetHandler AxKit
...
</Files>

(note that you can wrap all the directives that you have above in this way except the PerlModule AxKit line.)

Also, either of these approaches should allow AxKit to play nice with other tools like PHP without having to resort to a seperate vhost.

HTH,
-kip


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

Reply via email to