./configure (...) --enable-status ./configure (...) --disable-status You can enable/disable individual modules at compile time using the --enable-module and --disable-module options of the configure command. The preceding example explains how to do so for the mod_status module distributed as part of Apache. If your server has been compiled with loadable module support, you can disable a module by simply commenting the line that loads the module in the server: #LoadModule mod_status modules/mod_status.so In Apache 1.3, you can clear the list of active modules, including those compiled-in, using a ClearModuleList directive. In that case, you will need to use an AddModule directive for each module you want to use. The functionality provided by ClearModuleList is not available in Apache 2.x If you disable a module, make sure you remove it from your htttp.conf file directives provided by that module or include them inside a <ifModule> section as shown. Otherwise, the server may fail to start. <ifModule mod_status.c> ExtendedStatus On </ifModule> |