No, I am NOT asking where to find httpd.conf
I have been given code for a module that I need to tinker with and since I can't find any good documentation on the subject I am asking you.
const char* receiver_set_config_path(cmd_parms* cmd, void* cfg, const char* arg)
{
receiver_config_path = arg;
return NULL;
}
In this code there is a cfg passed in. I want to determine the name of this specific cfg file being passed in so I can log the name. How would I go about doing this? This function is setup in my receiver_directives[].
static const command_rec receiver_directives[] =
{
AP_INIT_TAKE1("ReceiverPath", receiver_set_config_path, NULL, RSRC_CONF, "The path the receiver will put files"),
{ NULL }
};
Your help is greatly appreciated!