macro functionality

Michael Shadle mike503 at
Fri Jun 26 22:13:29 MSD 2009

I'd like macro support too

Even if it's just for making the $document_root dynamic, which can be
done but apparently does not affect the variable itself :(

On Fri, Jun 26, 2009 at 5:52 AM, Jools Wills<buzz at> wrote:
>> Is it is easy to use mod_macro in apache?  You never really made that
>> clear.
> Sorry. I wrote "is it" instead of "it is". I mean't it is easy and I miss
> this after moving to nginx.
>> NginX prefers to make use of include where necessary, and it is more
>> efficient with fully specified configurations.  Some people with very
>> large or complicated configurations use makefiles or other scripts to
>> generate configuration files.  This seems to work well for them!
> I use includes, but I would like to pass parameters, so i could have a
> simple "virtualhost" include that setup logfile defaults in certain
> locations depending on some parameter? or can this be done somehow with
> variables?
> Best Regards
> Jools
> --
> (Formerly known as Jools Smyth)

More information about the nginx mailing list