--bindir=DIR | 用户可执行目录DIR。用于存放对网站管理员很有帮助的htpasswd, dbmmanage之类的支持程序 | user executables [EPREFIX/bin] |
--sbindir=DIR | 系统管理员可执行目录DIR ,用于存放运行HTTP服务器所必须的httpd, apachectl, suexec之类的服务程序 | system admin executables [EPREFIX/sbin] |
--libexecdir=DIR | 程序可执行目录DIR ,也就是动态加载模块目录 | program executables [EPREFIX/libexec] |
--sysconfdir=DIR | 只读的单一机器数据目录DIR ,用于存放httpd.conf和mime.types之类的服务器配置文件 | read-only single-machine data [PREFIX/etc] |
--sharedstatedir=DIR | 可改写的体系无关数据目录DIR | modifiable architecture-independent data [PREFIX/com] |
--localstatedir=DIR | 可改写的单一机器数据目录DIR | modifiable single-machine data [PREFIX/var] |
--libdir=DIR | 对象代码库目录DIR | object code libraries [EPREFIX/lib] |
--includedir=DIR | Apache的C头文件目录DIR | C header files [PREFIX/include] |
--oldincludedir=DIR | 非gcc的C头文件目录DIR | C header files for non-gcc [/usr/include] |
--datarootdir=DIR | Web服务器只读的体系无关数据根目录 | read-only arch.-independent data root [PREFIX/share] |
--datadir=DIR | Web服务器只读的体系无关数据目录DIR | read-only architecture-independent data [DATAROOTDIR] |
--infodir=DIR | 信息文档目录DIR | info documentation [DATAROOTDIR/info] |
--localedir=DIR | 地区相关数据DIR | locale-dependent data [DATAROOTDIR/locale] |
--mandir=DIR | 手册文档目录DIR | man documentation [DATAROOTDIR/man] |
--docdir=DIR | 手册目录 | documentation root [DATAROOTDIR/doc/PACKAGE] |
--htmldir=DIR | HTML格式帮助文档目录 | html documentation [DOCDIR] |
--dvidir=DIR | dvi格式帮助文档目录 | dvi documentation [DOCDIR] |
--pdfdir=DIR | pdf格式帮助文档目录 | pdf documentation [DOCDIR] |
--psdir=DIR | ps格式帮助文档目录 | ps documentation [DOCDIR] |
--disable-option-checking | 忽略无法识别的enable或with选项 | ignore unrecognized --enable/--with options |
--disable-FEATURE | 不使用任何软件特性 | do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] | 使用软件特性 | include FEATURE [ARG=yes] |
--enable-layout=LAYOUT | 预定义的安装路径布局。选项使用config.layout文件中的配置。只使用"--enable-layout", 而不指定LAYOUT, 相当于"--enable-layout=Apache" |
|
--enable-v4-mapped | 使用相同的套接字同时处理IPv4和IPv6的连接,也就是启用地址映射。在FreeBSD、NetBSD、OpenBSD以外的平台上是默认值。 | Allow IPv6 sockets to handle IPv4 connections |
--enable-exception-hook | 允许在子进程崩溃以后启用一个钩子来运行异常处理程序。 | Enable fatal exception hook |
--enable-maintainer-mode | 使用所有警告和调试符号编译源代码,请勿用于正式服务器,它会影响性能。 | Turn on debugging and compile time warnings |
--enable-pie
| 编译http作为一个独立的可执行文件。 | Build httpd as a Position Independent Executable |
--enable-modules=MODULE-LIST | 启用的模块,用空格分别列出,或使用all,most列出所有或常用的模块。 | Space-separated list of modules to enable | "all" |
"most" |
--enable-mods-shared=MODULE-LIST | 启用的共享DSO模块,用空格分别列出,或使用all,most列出所有或常用的共享DOS模块。(注1) | Space-separated list of shared modules to enable |
"all" | "most" |
--disable-authn-file | 禁用基于文件的验证控制 | file-based authentication control |
--enable-authn-dbm | 启用基于DBM的验证机制 | DBM-based authentication control |
--enable-authn-anon
| 启用匿名的验证机制 | anonymous user authentication control |
--enable-authn-dbd | 启用基于SQL的验证机制 | SQL-based authentication control |
--disable-authn-default | 禁止默认的验证机制方式backstopper | authentication backstopper |
--enable-authn-alias | 启用别名验证 | auth provider alias |
--disable-authz-host | 禁用基于主机的授权机制 |
host-based authorization control |
--disable-authz-groupfile | 禁用组授权机制 | 'require group' authorization control |
--disable-authz-user | 禁用用户授权机制 | 'require user' authorization control |
--enable-authz-dbm | 基于DBM数据库的授权机制 | DBM-based authorization control |
--enable-authz-owner | 基于文件所有者的授权机制 | 'require file-owner' authorization control |
--enable-authnz-ldap | 启用基于LDAP的的授权方式 | LDAP based authentication |
--disable-authz-default | 禁用默认的backstopper授权方式 | authorization control backstopper |
--disable-auth-basic | 禁用基本验证 | basic authentication |
--enable-auth-digest | 启用RFC2617摘要式身份验证 | RFC2617 Digest authentication |
--enable-isapi | 启用ISAPI扩展支持(注2) | isapi extension support |
--enable-file-cache | 启用文件缓存 | File cache |
--enable-cache | 启用动态文件缓存 | dynamic file caching |
--enable-disk-cache |
启用磁盘缓存模块 | disk caching module |
--enable-mem-cache | 启用内存缓存模块 | memory caching module |
--enable-dbd | 启用apache的DBD框架 | Apache DBD Framework |
--enable-bucketeer | 水桶操作过滤器 | buckets manipulation filter |
--enable-dumpio | I/O转储过滤器 | I/O dump filter |
--enable-echo | 启用回显服务 | ECHO server |
--enable-example | 实例和演示模块 | example and demo module |
--enable-case-filter | 启用大写转换过滤器 | example uppercase conversion filter |
--enable-case-filter-in | 启用大写转换输入过滤器 | example uppercase conversion input filter |
--enable-ext-filter | 扩展过滤模块 | external filter module |
--disable-include | 禁用服务器端嵌入(SSI) | Server Side Includes |
--disable-filter | 禁用智能过滤 | Smart Filtering |
--enable-substitute | 答复的内容重写式过滤 | response content rewrite-like filtering |
--disable-charset-lite | 禁用字符集转换 | character set translation |
--enable-charset-lite | 启用字符集转换 | character set translation |
--enable-deflate | 压缩转换编码支持 | Deflate transfer encoding support |
--enable-ldap | 启用LDAP的高速缓存和连接池服务 | LDAP caching and connection pooling services |
--disable-log-config | 禁用日志配置 | logging configuration |
--enable-log-forensic | 启用forensic日志记录 | forensic logging |
--enable-logio | 输入和输出记录 | input and output logging |
--disable-env | 禁用环境变量,清除设置环境变量 | clearing/setting of ENV vars |
--enable-mime-magic | 自动确定MIME类型 | automagically determining MIME type |
--enable-cern-meta | 启用CERN类型元文件 | CERN-type meta files |
--enable-expires | 头部有效期控制 | Expires header control |
--enable-headers | HTTP头控制HTTP | header control |
--enable-ident | RFC 1413身份检查 | RFC 1413 identity check |
--enable-usertrack | 用户session跟踪 | user-session tracking |
--enable-unique-id | 启用每个请求唯一的ID | per-request unique ids |
--disable-setenvif | 基于头部的环境变量 | basing ENV vars on headers |
--disable-version | 通过配置文件中决定http版本 | determining httpd version in config files |
--enable-proxy apache | 代理模块 | Apache proxy module |
--enable-proxy-connect apache | 代理连接模块 | Apache proxy CONNECT module |
--enable-proxy-ftp | apache代理ftp模块 | Apache proxy FTP module |
--enable-proxy-http | apache代理http模块 | Apache proxy HTTP module |
--enable-proxy-ajp | apache代理ajp模块 | Apache proxy AJP module |
--enable-proxy-balancer | apache代理balancer模块 | Apache proxy BALANCER module |
--enable-ssl | 启用ssl支持 | SSL/TLS support (mod_ssl) |
--enable-distcache | 在mod_ssl模块中启用Distcache。磁盘缓存(Distcache)用于分布式的会话缓存。主要用在 SSL/TLS 服务器。它可以被 Apache 使用。大多数的台式机应该关闭它。 | Select distcache support in mod_ssl |
--enable-optional-hook-export | 启用可选钩子输出者示例 | example optional hook exporter |
--enable-optional-hook-import | 启用可选钩子输入者示例 | example optional hook importer |
--enable-optional-fn-import | 启用可选函数输入者示例 | example optional function importer |
--enable-optional-fn-export | 启用可选函数输出者示例 | example optional function exporter |
--enable-static-support | 为所支持的二进制文件建立一个静态链接的版本 | Build a statically linked version of the support binaries |
--enable-static-htpasswd | 建立静态版本的htpasswd | Build a statically linked version of htpasswd |
--enable-static-htdigest | 建立htdigest的静态版本 | Build a statically linked version of htdigest |
--enable-static-rotatelogs | 建立rotatelogs的静态版本 | Build a statically linked version of rotatelogs |
--enable-static-logresolve | 建立logresolve的静态版本 | Build a statically linked version of logresolve |
--enable-static-htdbm | 建立htdbm的静态版本 | Build a statically linked version of htdbm |
--enable-static-ab | 建立ab的静态版本 | Build a statically linked version of ab |
--enable-static-checkgid | 建立checkgid的静态版本 | Build a statically linked version of checkgid |
--enable-static-htcacheclean | 建立htcacheclean的静态版本 | Build a statically linked version of htcacheclean |
--enable-static-httxt2dbm | 建立httxt2dbm的静态版本 | Build a statically linked version of httxt2dbm |
--enable-http | 启用http协议处理 | HTTP protocol handling |
--disable-mime | 禁用映射文件扩展名到mime类型 | mapping of file-extension to MIME |
--enable-dav | 启用webdav协议处理 | WebDAV protocol handling |
--disable-status | 禁用进程或线程的监控 | process/thread monitoring |
--disable-autoindex | 禁用目录列表 | directory listing |
--disable-asis | 禁用as-is文件类型 | as-is filetypes |
--enable-info | 启用服务器信息 | server information |
--enable-suexec | 启用suexec,为产生的进程设置uid和gid | set uid and gid for spawned processes |
--disable-cgid | 禁用CGID | CGI scripts |
--enable-cgi | 启用CGI | CGI scripts |
--disable-cgi | 禁用CGI | CGI scripts |
--enable-cgid | 启用CGID | CGI scripts |
--enable-dav-fs | 启用DAV文件系统提供者 | DAV provider for the filesystem |
--enable-dav-lock | 启用DAV提供者的一般锁定 | DAV provider for generic locking |
--enable-vhost-alias | 启用大规模的虚拟主机模块 | mass virtual hosting module |
--disable-negotiation | 禁用内容协商 | content negotiation |
--disable-dir | 禁用目录请求处理 | directory request handling |
--enable-imagemap |
启用服务器端图片映射图 | server-side imagemaps |
--disable-actions | 禁用请求上的行为触发器 | Action triggering on requests |
--enable-speling | 启用常见的URL拼写错误纠正 | correct common URL misspellings |
--disable-userdir |
禁用特定用户目录的请求的映射 | mapping of requests to user-specific directories |
--disable-alias | 禁用不同文件系统部分的请求的映射 | mapping of requests to different filesystem parts |
--enable-rewrite | 基本的URL操纵规则,即启用URL重写规则 | rule based URL manipulation |
--enable-so | 启用DSO性能 | DSO capability |
--with-PACKAGE[=ARG] | 包含包的语法 | use PACKAGE [ARG=yes] |
--without-PACKAGE | 不使用该包语法 | do not use PACKAGE (same as --with-PACKAGE=no) |
--with-included-apr | 捆绑拷贝apr/apr-util信息 | Use bundled copies of APR/APR-Util |
--with-apr=PATH | apr的安装目录 | prefix for installed APR or the full path to |
--with-apr-util=PATH | apu的安装目录 | prefix for installed APU or the full path to apu-config |
--with-pcre=PATH | 使用扩展的PCRE正则表达式库 | Use external PCRE library |
--with-port=PORT | 监听端口 | Port on which to listen (default is 80) |
--with-sslport=SSLPORT | ssl的监听端口 | Port on which to securelisten (default is 443) |
--with-z=DIR | zlib的库文件位置 | use a specific zlib library |
--with-sslc=DIR | RSA SSL-C SSL/TLS软件包目录 | RSA SSL-C SSL/TLS toolkit |
--with-ssl=DIR | openssl包的位置。 | OpenSSL SSL/TLS toolkit |
--with-mpm=MPM | 选择apache所使用的处理模块。(注1) | Choose the process model for Apache to use.
MPM={beos|event|worker|prefork|mpmt_os2} |
--with-module=module-type:module-file | 添加第三方模块。(注2) | Enable module-file in the modules/directory. |
--with-program-name | 指定可执行程序的名字[默认为:httpd],若使用此选项则默认配置文件的名字将同时变成"NAME.conf"。 | alternate executable name |
--with-suexec-bin | suexec二进制文件目录[默认--sbindir] | Path to suexec binary |
--with-suexec-calle | 允许调用suexec的用户,改用户必须和运行httpd子进程的用户相同 | User allowed to call SuExec |
--with-suexec-userdir | 用户主目录下允许suexec对其中的文件具有执行权限的子目录,仅在将suexec和用户网站目录(由mod_userdir提供支持)一起使用的情况下才需要设置此选项[public_html] | User subdirectory |
--with-suexec-docroot | 允许suexec对其中的文件具有执行权限的根目录[--datadir/htdocs] | SuExec root directory |
--with-suexec-uidmin | 允许执行suexec的最小UID[100] | Minimal allowed UID |
--with-suexec-gidmin | 允许执行suexec的最小GID[100] | Minimal allowed GID |
--with-suexec-logfile | suexec日志文件名[默认文件名为:suexec_log ,位于--logfiledir目录下] | Set the logfile |
--with-suexec-safepath | 对suexec"安全"的PATH环境变量的值[/usr/local/bin:/usr/bin:/bin] | Set the safepath |
--with-suexec-umask | suexec进程的umask[取决于系统的设定] | umask for suexec'd process |