Dommage que ce ne soit pas en standard, c’est vraiment utile.

Il suffti de rajouter le module suivant pour les utiliser dans Apache 2.2
http://www.cri.ensmp.fr/~coelho/mod_macro/

Description dans Apache Week :
http://www.apacheweek.com/issues/99-01-08

Si la macro est définie avant de lancer Apache, alors il serait possible d’utiliser la syntaxe ${ENV_VAR_NAME} ?
http://www.issociate.de/board/goto/1147159/Using_environment_variable_in_httpd.conf.htm
The undocumented env-variable-in-config-file feature looks at variables in the server environment at time of startup. SetEnv doesn't actually make real environment variables [...]
If you need more advanced features, then use your favorite preprocess (m4, etc) to generate your config files.


[…] using mod_perl, you can use the full power of the pearl interpreter INSIDE httpd.conf.
[sourcecode light= »true »]
<perl>
$ServerAdmin="webmaster [at] alpha-complex.com";
</perl>
<perl>
# generate virtual hosts on the fly with Perl
</perl>
[/sourcecode]