Subject: setting getting variable to be changed in production and read in my C module
From: eeadev dev <eeadev@xxxxxxxxx>
Date: Wed, 20 Sep 2017 02:55:01 -0700
Reply-to: users@xxxxxxxxxxxxxxxx
I have to write a set of variable to be read from my C module. Those variable could be change when the code is in production, similar to what u would write in a java properties file.
What is the proper way to do it and which functions to use?
write the in the httpd.conf (what is the API for getting/setting a var visible in all the apache web server)
write them in the [module].conf (what is the API for getting/setting a var visible in all my module)
write them in another file, opening it with c open and parse it in the C way
I saw there is this API apr_env_* where are those variable meant to be?