# # $Id: INSTALL.src 627 2012-02-09 10:54:43Z coelho $ # Installing the mod_macro 1.2.0 module with apache 2.4 is simple, especially if you use mod_so for dynamic linking. Here is a sample installation with apache 2.4 and mod_macro 1.2.0: (0) Get the latest mod_macro release: prompt> wget http://www.coelho.net/mod_macro/mod_macro-latest.tar.gz (1) Uncompress the distribution tar file if necessary. prompt> gunzip mod_macro-latest.tar.gz (2) Compile and install mod macro as a dynamic shared object library ready to be loaded into apache. prompt> apxs -cia mod_macro-1.2.0/mod_macro.c Under MacOS X, try something like: macos> sudo apxs -cia -Wc,'-arch x86_64' -Wl,'-arch x86_64' mod_macro.c (3) You may also want to install the html documentation. prompt> cp mod_macro-1.2.0/mod_macro.html \ apache_2.4/htdocs/manual/mod/ and maybe update apache_2.4/htdocs/manual/mod/index.html to add a reference to the mod_macro.html file. (4) Enjoy!