From: Daniel Earl Poirier Some modules are compiled by default and have to be disabled
explicitly or by using the keywords Modules enabled by default
+ Choosing modules to compile
few or
none (see --enable-modules,
--enable-mods-shared and --enable-mods-static
- below for further explanation) to be removed. The following options remove
- individual modules from the compilation process.
-
-
+ below for further explanation) to be removed.--disable-actionsmod_actions.--disable-aliasmod_alias.--disable-asismod_asis.--disable-authmod_authn_file. This module provides for HTTP Basic
- Authentication, where the usernames and passwords are stored in
- plain text files.--disable-autoindexmod_autoindex.--disable-accessmod_authz_host.--disable-cgimod_cgi, which provides support for CGI scripts,
- is enabled by default when using a non-threaded MPM. Use this
- option to disable CGI support.--disable-cgidworker,
- support for CGI scripts is provided by mod_cgid
- by default. To disable CGI support use this option.--disable-charset-litemod_charset_lite. This module will be installed by
- default only on EBCDIC systems.--disable-dirmod_dir.--disable-envmod_env.--disable-httphttp
- module is a basic one, enabling the server to function as an
- HTTP server. It is only useful to disable it if you want to use
- another protocol module instead. Don't disable this
- module unless you are really sure what you are doing.
-
- Note: This module will always be linked statically.--disable-imagemapmod_imagemap.--disable-includemod_include.--disable-log-configmod_log_config. You won't be able to log requests
- to the server without this module.--disable-mimemod_mime associates the requested
- filename's extensions with the file's behavior and content
- (mime-type, language, character set and
- encoding). Disabling this module is normally not recommended.--disable-negotiationmod_negotiation.--disable-setenvifmod_setenvif.--disable-statusmod_status.--disable-userdirmod_userdir.
Some modules are not compiled by default and have to be enabled +
Other modules are not compiled by default and have to be enabled
explicitly or by using the keywords most or
- all (see --enable-modules,
- --enable-mods-shared and --enable-mods-static
- below for further explanation) to be available. The following options
- add individual modules to the compilation process.
--enable-authn-anonmod_authn_anon.--enable-authn-dbmmod_authn_dbm provides for HTTP Basic
- Authentication, where the usernames and passwords are stored in DBM
- type database files. Use this option to enable the module.--enable-authz-dbmmod_authz_dbm provides for HTTP Basic
- Authorization, where the usernames and groups are stored in DBM
- type database files. Use this option to enable the module.--enable-auth-digestmod_auth_digest. This module uses plain text files
- to store the credentials.--enable-authnz-ldapmod_authnz_ldap.--enable-cachemod_cache. This experimental module may be
- interesting for servers with high load or caching proxy servers. At
- least one storage management module (e.g.
- mod_disk_cache) is also necessary.--enable-cern-metamod_cern_meta.--enable-charset-litemod_charset_lite. This module will be installed by
- default only on EBCDIC systems. On other systems, you have to enable
- it.--enable-davmod_dav. Support for filesystem resources is
- provided by the separate module mod_dav_fs. This
- module is also automatically enabled with
- --enable-dav.mod_dav can only be used together with the
- http protocol module.--enable-dav-fsmod_dav_fs. This module is a provider for the
- mod_dav module, so you should also use
- --enable-dav.--enable-dav-lockmod_dav_lock which provides generic DAV
- locking support for backend modules. This module needs at least
- mod_dav to function, so you should also use
- --enable-dav.--enable-deflatemod_deflate.--enable-disk-cachemod_disk_cache.--enable-expiresExpires header control provided by
- mod_expires.--enable-ext-filtermod_ext_filter.--enable-file-cachemod_file_cache.--enable-headersmod_headers.--enable-infomod_info.--enable-ldapmod_ldap.--enable-logiomod_logio.--enable-mime-magicmod_mime_magic.--enable-isapimod_isapi.--enable-proxymod_proxy. The proxying capabilities for
- AJP13, CONNECT, FTP,
- HTTP and the balancer are provided by the separate
- modules mod_proxy_ajp,
- mod_proxy_connect, mod_proxy_ftp,
- mod_proxy_http and
- mod_proxy_balancer.
- These five modules are also automatically enabled with
- --enable-proxy.--enable-proxy-ajpAJP13 (Apache JServ Protocol 1.3)
- request handling, which is provided by mod_proxy_ajp.
- This module is an extension for the mod_proxy module,
- so you should also use --enable-proxy.--enable-proxy-balancerAJP13,
- FTP and HTTP protocols, which is provided by
- mod_proxy_balancer. This module is an extension for the
- mod_proxy module, so you should also use
- --enable-proxy.--enable-proxy-connectCONNECT request handling,
- which is provided by mod_proxy_connect. This module
- is an extension for the mod_proxy module, so you
- should also use --enable-proxy.--enable-proxy-ftpFTP requests, which is
- provided by mod_proxy_ftp. This module
- is an extension for the mod_proxy module, so you
- should also use --enable-proxy.--enable-proxy-httpHTTP requests, which is
- provided by mod_proxy_http. This module
- is an extension for the mod_proxy module, so you
- should also use --enable-proxy.--enable-rewritemod_rewrite.--enable-somod_so. This
- module will be automatically enabled unless you build
- all modules statically.--enable-spelingmod_speling.--enable-sslmod_ssl.--enable-unique-idmod_unique_id.--enable-usertrackmod_usertrack.--enable-vhost-aliasmod_vhost_alias.The following modules are useful only for developers and testing - purposes and are disabled by default. Use the following options to - enable them. If you are not sure whether you need one of these - modules, omit them.
- ---enable-bucketeermod_bucketeer.--enable-case-filtermod_case_filter.--enable-case-filter-inmod_case_filter_in.--enable-echomod_echo.--enable-examplemod_example.--enable-optional-fn-exportmod_optional_fn_export.--enable-optional-fn-importmod_optional_fn_import.--enable-optional-hook-exportmod_optional_hook_export.--enable-optional-hook-importmod_optional_hook_import.all to be available.
+
+ To find out which modules are compiled by default, run
+ ./configure -h or ./configure --help
+ and look under Optional Features. Suppose you
+ are interested in mod_example1 and
+ mod_example2, and you
+ see this:
Optional Features: + ... + --disable-example1 example module 1 + --enable-example2 example module 2 + ...
Then mod_example1 is enabled by default,
+ and you would use --disable-example1 to not
+ compile it. mod_example2 is disabled by
+ default, and you would use --enable-example2
+ to compile it.