Hi Joshua, that's a very good hint. Somehow I missed ap_resolve_env() when I searched through the code to check the built-in features.
So is ap_resolve_env() an official feature? Regards, Rainer Joshua Slive schrieb: > On 8/25/06, Rainer Jung <[EMAIL PROTECTED]> wrote: >> I put the code up on http://people.apache.org/~rjung/mod_define/ >> >> Comments are welcome. >> >> For big sites and well trained admins having an external tool like m4, >> scripting languages, ant etc. might be the better way to use config >> templates. >> >> But for a couple of easier use cases and less skilled admins, mod_define >> seems to be easily usable and makes mod_macro more powerful. > > Isn't this all sort-of obsoleted by the undocumented fact that httpd > 2.x already resolves env variables in the config file. (Not that I > think that is a particularly good idea, but...) > > Joshua.