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 18:06:40 GMT
On Thu, May 23, 2013 at 1:45 PM, Sean Beck <seanmckaybeck@gmail.com> wrote:
> What does cmd refer to/can I find it in the request_rec?
>
>
> On Thu, May 23, 2013 at 10:21 AM, Eric Covener <covener@gmail.com> wrote:
>
>> On Thu, May 23, 2013 at 11:44 AM, Sean Beck <seanmckaybeck@gmail.com>
>> wrote:
>> > 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?
>> >
>>
>> Emphasis on the other side of the assignment, which you have access to
>> as you handle each directive.
>>

cmd_parms is passed into each directive your module handles during
configuration.  Not available in the request rec.

--
Eric Covener
covener@gmail.com

Mime
View raw message