httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien ALLANOS <>
Subject [Fwd: [apache-modules] apache gives me a NULL config_file * pointer]
Date Tue, 15 Jun 2004 15:39:38 GMT
i'm forwarding a mail i sent to the apache-modules ml. i hope i'll have 
answers here, thanks for feedback.

-------- Original Message --------
Subject: [apache-modules] apache gives me a NULL config_file * pointer
Date: Tue, 15 Jun 2004 16:20:16 +0200
From: Julien ALLANOS <>
Organization: AQL

Hi, i need help with writing a RAW_ARGS directive handler. i need it to
implement a non-directory container directive (like <IfModule or <IfDefine).

I have this in my commands table:


and my directive handler is:

const char *ldap_section(cmd_parms *parms, void *mconfig, const char
*args) {

so i assume apache gives me a complete cmd_parms structure. that's
right, the values of parms->path or parms->override are good. however,
parms->config_file is a NULL pointer! so i can't parse myself what
follows in the config file: ap_cfg_getline() segfaults.

is this a bug? how could i solve this problem?
Julien ALLANOS <>
The contents of this email and any attachments are
confidential. They are intended for the named recipient(s)
If you have received this email in error please notify the
system manager or the sender immediately and do not disclose
the contents to anyone or make copies.

* email scanned for viruses, vandals and malicious content *

View raw message