How to build Apache with all available modules
It can sometimes be useful to build Apache with all available modules as shared objects. In this way, one can easily enable just those modules needed after build time. The documentation for the configure script used to build Apache lists --enable-mods-shared as an option. It also mentions that the keyword "all" can be used with this option.
However, 'all' in this case doesn't really mean all. In particular, these modules aren't built by a simple --enable-mods-shared=all
- mod_proxy (though in this case, specifying "all proxy" will build all of the proxy provider modules)
To build all modules then, one might use:
./configure \ --with-ldap \ --enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache"
This doesn't cover suexec or the developer specific or platform specific modules.