Hi,


Just to hear your opinion on this. I use the following 'axkit.conf'
file: 

======================================================================
PerlRequire conf/startup.pl
PerlModule AxKit

<Files ~ \.xml$>

SetHandler AxKit

AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot 
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP


# load the ESQL taglib and Util taglib
AxAddXSPTaglib AxKit::XSP::ESQL
AxAddXSPTaglib AxKit::XSP::Util

AxCacheDir /tmp/axkit


AxTranslateOutput On
AxOutputCharset iso-8859-1


AxDebugLevel 10
#AxDebugLevel 0
</Files>
======================================================================

Where startup.pl is:

======================================================================
#!/usr/bin/perl
use GDBM_File;

1;
======================================================================

and I include it in my httpd.conf with:

======================================================================
<IfModule mod_perl.c>
Include conf/axkit.conf
</IfModule>
======================================================================


My webserver runs as user 'www', and /tmp/axkit has the following
permissions: 

======================================================================
[root@wintermute conf]# l /tmp/axkit -d
drwxr-xr-x    8 www      www          4096 Mai 17 17:48 /tmp/axkit/
[root@wintermute conf]# 
======================================================================


I've upgraded from AxKit 1.4 to AxKit 1.5.2 with XML::LibXML and
XML::LibXSLT and the latest XML::XPath. All dependencies were updated,
as of yesterday on CPAN, so I can say that I am with the latest stable
releases of required modules.


Everything was working fine before the upgrade and, suddenly, after
the upgrade (and restart of webserver), some virtual domains stopped
responding. First I thought there was some AxKit configuration missing
and went to the docs. Everything was fine, but nothing worked. Then, I
decided to remove the '<Files>' and '</Files>' lines on axkit.conf
(just these lines, leaving the configurations there). I've restarted
the website and it started working. I've put these directives back,
restarted the webserver, and it continued working. Then, there was a
problem with another virtual domain, that has no AxKit use (only pure
HTML files and images). I've removed the lines again, and it
worked. Putting back the lines and everything is working.

I don't know what happened, but my Apache (1.3.22) was dying with
segmentation fault:


[Fri May 17 17:57:32 2002] [notice] child pid 3449 exit signal Segmentation fault (11)


Just removing the files and accessing the virtual domain is enough to
make it work again. 


Any ideas on what might have happened? I can't leave things outside
the <Files> block because I have other CGIs that won't work (such as
MoinMoin). 



See you,
-- 
Godoy. <[EMAIL PROTECTED]>

Escrit�rio de Projetos          --        Conectiva S.A.
Projects Office                 --        Conectiva Inc.

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

Reply via email to