Hi,

When AxKit is not fully handling the whole website AxKit gives SIGSEGV for me.
Example setup:

        PerlModule AxKit
        <Directory "/home/kratochvil/WWW/ax">
                PerlHandler AxKit
                AddHandler perl-script .xml .xsl .xps .xsp
                ...
        </Directory>

Trivial patch attached.


Regards,
Jan "Lace" Kratochvil


Not in the list, Cc would be nice.
Index: AxKit.xs
===================================================================
RCS file: /home/cvspublic/xml-axkit/AxKit.xs,v
retrieving revision 1.1
diff -u -p -r1.1 AxKit.xs
--- AxKit.xs    13 Jan 2002 20:45:08 -0000      1.1
+++ AxKit.xs    3 May 2002 12:42:52 -0000
@@ -194,6 +194,10 @@ Debug (level, ...)
         }
         cfg = (axkit_dir_config *)
                 ap_get_module_config(r->per_dir_config, &XS_AxKit);
+        if (!cfg) {
+            /* AxKit is not handler in this directory */
+            return;
+        }
         if (level > cfg->debug_level) {
             return;
         }

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

Reply via email to