httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Beck <seanmckayb...@gmail.com>
Subject Re: Get name of config file for module
Date Thu, 23 May 2013 15:44:52 GMT
s is the server_rec? So what you're saying is s->defn_name refers to the
.conf the module got its configuration information from? It's labeled in
the httpd.h header as "The name of the server" but does that actually mean
the config file?


On Thu, May 23, 2013 at 8:59 AM, Eric Covener <covener@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message