Option | Description |
--datadir=DATADIR | Installs read-only data files in DATADIR. This determines |
| the root location of all nonlocal data files, from which the |
| --installbuilddir , --errordir, --iconsdir, --htdocsdir, |
| --manualdir , and --cgidir directories are derived, if |
| specified as relative values. It defaults to the same value |
| as PREFIX if unspecified. |
--errordir=DIR | Installs custom error documents into DIR. These are |
| referred to by ErrorDocument directives in the main |
| configuration file and produce nicer, and multilingual, |
| error messages than Apache’s built-in ones. Usually |
| located in the error directory under DATADIR. New in |
| Apache 2. |
--iconsdir=DIR | Installs icons for directory indexing into DIR. AddIcon |
| directives in the main configuration file refer to these. |
| Usually located in the icons directory under DATADIR. |
| New in Apache 1.3.10. |
--infodir=DIR | Installs documentation in GNU "info" format into DIR. |
| Apache itself doesn’t come with any information |
| documentation, but third-party modules might. Not |
| created by default but, is usually located in the info |
| directory under DATADIR. New in Apache 2. |
--htdocsdir=DIR | Installs the default Apache startup Web page into DIR. |
| The master configuration uses this directory as the initial |
| value for the DocumentRoot directive. New in Apache 1.3.10. |
--manualdir=DIR | Installs Apache’s HTML documentation into DIR. Usually |
| located in the manual directory under DATADIR. Not to be |
| confused with --mandir. New in Apache 1.3.21. |
--cgidir=DIR | Installs the standard Apache CGI scripts into DIR. Usually |
| located in the cgi-bin directory under DATADIR. The |
| master configuration file points to this directory via a |
| ScriptAlias directive. New in Apache 1.3.10. |
--includedir=DIR | Installs Apache’s header files in DIR. These are required |
| by apxs to compile modules without the full Apache |
| source tree available. Usually located in the include |
| directory under PREFIX. |
--libdir=DIR | Installs Apache’s nonmodule object libraries in DIR. |
| Usually located in the lib directory under PREFIX. New in |
| Apache 2. |
--localstatedir=LOCALDIR | Installs modifiable data files in DIR. This defines where |
| files that convey information about a particular instance |
| of Apache are kept. It usually governs the locations of the |
| runtime, log file, and proxy directories below. Usually the |
| same as PREFIX. |
--runtimedir=DIR | Installs run-time data in DIR. This determines the default |
| locations of the process ID, scoreboard, and lock files. |
| Usually located in the logs subdirectory under LOCALDIR. |