Re: Get name of config file for module

2013-05-23 Thread Eric Covener
On Thu, May 23, 2013 at 1:45 PM, Sean Beck 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 wrote: > >> On Thu, May 23, 2013 at 11:44 AM, Sean Beck >> wrote: >> > s is the server_rec? So what you're saying is s->defn_name refe

Re: Get name of config file for module

2013-05-23 Thread Sean Beck
What does cmd refer to/can I find it in the request_rec? On Thu, May 23, 2013 at 10:21 AM, Eric Covener wrote: > On Thu, May 23, 2013 at 11:44 AM, Sean Beck > wrote: > > s is the server_rec? So what you're saying is s->defn_name refers to the > > .conf the module got its configuration informat

Re: Get name of config file for module

2013-05-23 Thread Eric Covener
On Thu, May 23, 2013 at 11:44 AM, Sean Beck 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? >

Re: Get name of config file for module

2013-05-23 Thread Sean Beck
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 wrote: > On

Re: Get name of config file for module

2013-05-23 Thread Eric Covener
On Thu, May 23, 2013 at 10:39 AM, Sean Beck 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 inf

Re: Get name of config file for module

2013-05-23 Thread Sean Beck
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 On Wed, May 22, 2013 at 1:40 AM, Sorin Manolache wrote: > On 2013-05-2

Re: Get name of config file for module

2013-05-22 Thread Sorin Manolache
On 2013-05-21 23:52, Sean Beck wrote: Sorin, Is there a way to figure out the name of the config file in code so I can log it? Or even just the path to where it is. Also, I'm confused because you said there is no such thing as a module-specific configuration file, but then you said configuratio

Re: Get name of config file for module

2013-05-21 Thread Sean Beck
Sorin, Is there a way to figure out the name of the config file in code so I can log it? Or even just the path to where it is. Also, I'm confused because you said there is no such thing as a module-specific configuration file, but then you said configuration files can be split per-module. Does Ap

Re: Get name of config file for module

2013-05-21 Thread Sorin Manolache
On 2013-05-21 21:36, Sean Beck wrote: Hi all, I have written a module and now would like to log the name of the actual config file being used by the module (there will be multiple modules on the server with their own config files. I looked through https://httpd.apache.org/docs/2.4/developer/modg

Get name of config file for module

2013-05-21 Thread Sean Beck
Hi all, I have written a module and now would like to log the name of the actual config file being used by the module (there will be multiple modules on the server with their own config files. I looked through https://httpd.apache.org/docs/2.4/developer/modguide.html but am still struggling to und