Httpd Module Compilation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

mod_expires compilation

In order for a .so module to be generated, httpd must be compiled with --enable-so and --enable-expires=shared:

./configure --enable-so --enable-expires=shared
cd .../httpd-2.2.17
apxs -c modules/metadata/mod_expires.c

Module compilation and installation

apxs -a -i -c ./modules/proxy/mod_proxy.c ./modules/proxy/proxy_util.c