httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: Get name of config file for module
Date Thu, 23 May 2013 14:59:03 GMT
On Thu, May 23, 2013 at 10:39 AM, Sean Beck <seanmckaybeck@gmail.com> wrote:
> OK thank you! I ask because my boss wants me to log the config file info on
> start-up of the server but I have been completely unable to find a way to
> do so, hence why I came to the mailing lists for help. Thanks for the help

You can get info about where any of your own directives are specified.
 The VirtualHost directive remembers where it was found:

    s->defn_name = cmd->directive->filename;
    s->defn_line_number = cmd->directive->line_num;

Mime
View raw message