8.4 Configuration Notes

Depending what the Apache server needs to have enabled, special configuration options may have to be passed. For example, if the module auth_dbm (which comes with the Apache source) needs to be built in, by default, it won't be.

To get a list of what Apache automatically builds in, run ./configure -help and a list will be shown. For example:

[env=yes         example=no      expires=no     ]

indicates that mod_env is compiled into Apache by default, whereas mod_example and mod_expires are not. If you decide to enable mod_example, simply add: -enable-module=example to the configure script that you ran in the above step.

Likewise, to disable a particular module, simply add -disable-module=name to the configure script.

One should be okay without worrying about this, but if the version of Apache needs special configuration it will not hurt to go over the list. To enable all the modules, append -enable-modules=all -enable-modules=max to the configure arguments, though the chances of a compilation error to occur seem more likely, and one may go through a hassle to install requirements for a module that may never used.