Complete list of Apache HTTP Server configure options for version 2.4.9.
In the terminal, change to the source directory and execute the below command.
# ./configure --help
`configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print `checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for `--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or `..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local/apache2] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install' will install all the files in `/usr/local/apache2/bin', `/usr/local/apache2/lib' etc. You can specify an installation prefix other than `/usr/local/apache2' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] Optional Features: --disable-option-checkingignore unrecognized --enable/--with options--disable-FEATUREdo not include FEATURE (same as --enable-FEATURE=no)--enable-FEATURE[=ARG]include FEATURE [ARG=yes]--enable-layout=LAYOUT --enable-dtraceEnable DTrace probes--enable-hook-probesEnable APR hook probes--enable-exception-hookEnable fatal exception hook--enable-load-all-modulesLoad all modules--enable-maintainer-modeTurn on debugging and compile time warnings and load all compiled modules--enable-debugger-modeTurn on debugging and compile time warnings and turn off optimization--enable-pieBuild httpd as a Position Independent Executable--enable-modules=MODULE-LISTSpace-separated list of modules to enable | "all" | "most" | "few" | "none" | "reallyall"--enable-mods-shared=MODULE-LISTSpace-separated list of shared modules to enable | "all" | "most" | "few" | "reallyall"--enable-mods-static=MODULE-LISTSpace-separated list of static modules to enable | "all" | "most" | "few" | "reallyall"--disable-authn-filefile-based authentication control--enable-authn-dbmDBM-based authentication control--enable-authn-anonanonymous user authentication control--enable-authn-dbdSQL-based authentication control--enable-authn-socacheCached authentication control--disable-authn-corecore authentication module--disable-authz-hosthost-based authorization control--disable-authz-groupfile'require group' authorization control--disable-authz-user'require user' authorization control--enable-authz-dbmDBM-based authorization control--enable-authz-owner'require file-owner' authorization control--enable-authz-dbdSQL based authorization and Login/Session support--disable-authz-corecore authorization provider vector module--enable-authnz-ldapLDAP based authentication--disable-access-compatmod_access compatibility--disable-auth-basicbasic authentication--enable-auth-formform authentication--enable-auth-digestRFC2617 Digest authentication--enable-allowmethodsrestrict allowed HTTP methods--enable-isapiisapi extension support--enable-file-cacheFile cache--enable-cachedynamic file caching. At least one storage management module (e.g. mod_cache_disk) is also necessary.--enable-cache-diskdisk caching module--enable-cache-socacheshared object caching module--enable-socache-shmcbshmcb small object cache provider--enable-socache-dbmdbm small object cache provider--enable-socache-memcachememcache small object cache provider--enable-socache-dcdistcache small object cache provider--enable-soDSO capability. This module will be automatically enabled unless you build all modules statically.--enable-watchdogWatchdog module--enable-macroDefine and use macros in configuration files--enable-dbdApache DBD Framework--enable-bucketeerbuckets manipulation filter. Useful only for developers and testing purposes.--enable-dumpioI/O dump filter--enable-echoECHO server--enable-example-hooksExample hook callback handler module--enable-case-filterExample uppercase conversion filter--enable-case-filter-inExample uppercase conversion input filter--enable-example-ipcExample of shared memory and mutex usage--enable-bufferFilter Buffering--enable-dataRFC2397 data encoder--enable-ratelimitOutput Bandwidth Limiting--disable-reqtimeoutLimit time waiting for request from client--enable-ext-filterexternal filter module--enable-requestRequest Body Filtering--enable-includeServer Side Includes--disable-filterSmart Filtering--enable-reflectorReflect request through the output filter stack--enable-substituteresponse content rewrite-like filtering--enable-sedfilter request and/or response bodies through sed--disable-charset-litecharacter set translation. Enabled by default only on EBCDIC systems.--enable-charset-litecharacter set translation. Enabled by default only on EBCDIC systems.--enable-deflateDeflate transfer encoding support--enable-xml2enci18n support for markup filters--enable-proxy-htmlFix HTML Links in a Reverse Proxy--enable-httpHTTP protocol handling. The http module is a basic one that enables 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-mimemapping of file-extension to MIME. Disabling this module is normally not recommended.--enable-ldapLDAP caching and connection pooling services--disable-log-configlogging configuration. You won't be able to log requests to the server without this module.--enable-log-debugconfigurable debug logging--enable-log-forensicforensic logging--enable-logioinput and output logging--enable-luaApache Lua Framework--enable-luajitEnable LuaJit Support--disable-envclearing/setting of ENV vars--enable-mime-magicautomagically determining MIME type--enable-cern-metaCERN-type meta files--enable-expiresExpires header control--disable-headersHTTP header control--enable-identRFC 1413 identity check--enable-usertrackuser-session tracking--enable-unique-idper-request unique ids--disable-setenvifbasing ENV vars on headers--disable-versiondetermining httpd version in config files--enable-remoteiptranslate header contents to an apparent client remote_ip--enable-proxyApache proxy module--enable-proxy-connectApache proxy CONNECT module. Requires and is enabled by --enable-proxy.--enable-proxy-ftpApache proxy FTP module. Requires and is enabled by --enable-proxy.--enable-proxy-httpApache proxy HTTP module. Requires and is enabled by --enable-proxy.--enable-proxy-fcgiApache proxy FastCGI module. Requires and is enabled by --enable-proxy.--enable-proxy-scgiApache proxy SCGI module. Requires and is enabled by --enable-proxy.--enable-proxy-fdpassApache proxy to Unix Daemon Socket module. Requires --enable-proxy.--enable-proxy-wstunnelApache proxy Websocket Tunnel module. Requires and is enabled by --enable-proxy.--enable-proxy-ajpApache proxy AJP module. Requires and is enabled by --enable-proxy.--enable-proxy-balancerApache proxy BALANCER module. Requires and is enabled by --enable-proxy.--enable-proxy-expressmass reverse-proxy module. Requires --enable-proxy.--enable-sessionsession module--enable-session-cookiesession cookie module--enable-session-cryptosession crypto module--enable-session-dbdsession dbd module--enable-slotmem-shmslotmem provider that uses shared memory--enable-slotmem-plainslotmem provider that uses plain memory--enable-sslSSL/TLS support (mod_ssl)--enable-ssl-staticlib-depslink mod_ssl with dependencies of OpenSSL's static libraries (as indicated by "pkg-config --static"). Must be specified in addition to --enable-ssl.--enable-optional-hook-exportexample optional hook exporter--enable-optional-hook-importexample optional hook importer--enable-optional-fn-importexample optional function importer--enable-optional-fn-exportexample optional function exporter--enable-dialuprate limits static files to dialup modem speeds--enable-static-supportBuild a statically linked version of the support binaries--enable-static-htpasswdBuild a statically linked version of htpasswd--enable-static-htdigestBuild a statically linked version of htdigest--enable-static-rotatelogsBuild a statically linked version of rotatelogs--enable-static-logresolveBuild a statically linked version of logresolve--enable-static-htdbmBuild a statically linked version of htdbm--enable-static-abBuild a statically linked version of ab--enable-static-checkgidBuild a statically linked version of checkgid--enable-static-htcachecleanBuild a statically linked version of htcacheclean--enable-static-httxt2dbmBuild a statically linked version of httxt2dbm--enable-static-fcgistarterBuild a statically linked version of fcgistarter--enable-lbmethod-byrequestsApache proxy Load balancing by request counting--enable-lbmethod-bytrafficApache proxy Load balancing by traffic counting--enable-lbmethod-bybusynessApache proxy Load balancing by busyness--enable-lbmethod-heartbeatApache proxy Load balancing from Heartbeats--enable-mpms-shared=MPM-LISTSpace-separated list of MPM modules to enable for dynamic loading. MPM-LIST=list | "all"--enable-unixdunix specific support--enable-privilegesPer-virtualhost Unix UserIDs and enhanced security for Solaris--enable-heartbeatGenerates Heartbeats--enable-heartmonitorCollects Heartbeats--enable-davWebDAV protocol handling. --enable-dav also enables mod_dav_fs--disable-statusprocess/thread monitoring--disable-autoindexdirectory listing--enable-asisas-is filetypes--enable-infoserver information--enable-suexecset uid and gid for spawned processes--enable-cgidCGI scripts. Enabled by default with threaded MPMs--enable-cgiCGI scripts. Enabled by default with non-threaded MPMs--enable-dav-fsDAV provider for the filesystem. --enable-dav also enables mod_dav_fs.--enable-dav-lockDAV provider for generic locking--enable-vhost-aliasmass virtual hosting module--enable-negotiationcontent negotiation--disable-dirdirectory request handling--enable-imagemapserver-side imagemaps--enable-actionsAction triggering on requests--enable-spelingcorrect common URL misspellings--enable-userdirmapping of requests to user-specific directories--disable-aliasmapping of requests to different filesystem parts--enable-rewriterule based URL manipulation--enable-v4-mappedAllow IPv6 sockets to handle IPv4 connectionsOptional Packages: --with-PACKAGE[=ARG]use PACKAGE [ARG=yes]--without-PACKAGEdo not use PACKAGE (same as --with-PACKAGE=no)--with-included-aprUse bundled copies of APR/APR-Util--with-apr=PATHprefix for installed APR or the full path to apr-config--with-apr-util=PATHprefix for installed APU or the full path to apu-config--with-pcre=PATHUse external PCRE library--with-port=PORTPort on which to listen (default is 80)--with-sslport=SSLPORTPort on which to securelisten (default is 443)--with-distcache=PATHDistcache installation directory--with-z=PATHuse a specific zlib library--with-libxml2=PATHlocation for libxml2--with-lua=PATHPath to the Lua 5.1 prefix--with-ssl=PATHOpenSSL installation directory--with-mpm=MPMChoose the process model for Apache to use by default. MPM={event|worker|prefork|winnt} This will be statically linked as the only available MPM unless --enable-mpms-shared is also specified.--with-module=module-type:module-fileEnable module-file in the modules/<module-type> directory.--with-program-namealternate executable name--with-suexec-binPath to suexec binary--with-suexec-callerUser allowed to call SuExec--with-suexec-userdirUser subdirectory--with-suexec-docrootSuExec root directory--with-suexec-uidminMinimal allowed UID--with-suexec-gidminMinimal allowed GID--with-suexec-logfileSet the logfile--with-suexec-safepathSet the safepath--with-suexec-umaskumask for suexec'd processSome influential environment variables: CCC compiler commandCFLAGSC compiler flagsLDFLAGSlinker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir>LIBSlibraries to pass to the linker, e.g. -l<library>CPPFLAGS(Objective) C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir>CPPC preprocessorUse these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider.
You may go back to the following section.
Installing Apache HTTP Server