mod_so
Adding or removing server capabilities at compile time and recompiling
to achieve a different capability mix may not always be convenient. This
is a job for mod_so!
One can even compile a minimal httpd, by configuring with the option
"--enable-shared=max" so that only these components compiled in:
./bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
With a statically compile httpd, we'd normally see at least a dozen modules
listed. Instead, all of our module capabilities are enabled as needed at
runtime.
The installation ServerRoot's libexec subdirectory is then
populated with all of our modules as shared objects. Let's look at
directives the will reconfigure our server's module profile at runtime.