Hello,

i'm currently writing a mod_perl authentification handler, and i want to add apache custom directives. I followed techniques explained in the mod_perl cookbook (http://www.modperlcookbook.org/chapters/ch07.pdf) using Apache::Extutils::command_table() to add 2 directives (req_override set to OR_AUTHCFG).

I use PerlModule into main httpd.conf to load my module, and i can successfully see it as a "C" module defining two directives with mod_info.

But i've a problem :
if i define directives into httpd.conf (in <Directory> or <Location> blocks) no problem, it works perfectly and i can retrieve directives values using Apache::ModuleConfig->get($r, __PACKAGE__);
But if i define directives in a .htaccess file, apache crash with this log added for each request :


[Mon May 3 16:12:39 2004] [notice] child pid 31813 exit signal Segmentation fault (11)

I don't know when apache crash exactly, because for example my authentification handler works, and i retrieve directives values. I think it crash when it send content.

Does anyone has an idea ?
is it a bug ?
is it a mistake ?


Thanks !


Anthony Hinsinger
Univerity of Metz
France

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to