IBM HTTP Server 所支持的 Apache 模块(包含伪指令)

本节提供了有关 IBM® HTTP Server 所支持的 Apache 模块的信息。受支持 Apache 模块中定义的伪指令可用来配置 IBM HTTP Server。

受支持的 Apache 模块

在 V9 (Apache HTTP Server 2.4) 中更改了下列 Apache 模块:
  • 不再包含 mod_proxy_balancer 和 mod_proxy_ajp 模块。在某些平台上,先前发行版将这些模块包含在 WebSphereCE 目录中。
  • 已从 Apache 分发中移除 mod_mem_cache 模块。请改为使用 mod_cache_disk 模块。
  • [z/OS][Linux]event MPM 仅在 z/OS 和 Linux 平台上受支持。
  • 已移除 mod_ibm_ldap 模块。
  • 添加了下列模块:
    • mod_access_compat
    • mod_proxy_fcgi
    • mod_substitute
    • mod_lua
    • mod_authn_certificate
    • mod_remoteip
    • mod_macro

IBM HTTP Server 所支持的模块列示在 Apache HTTP Server V 2.4 伪指令索引中。

下列 Apache 模块在 V7 (Apache HTTP Server V2.2) 或更高版本中不受支持:
  • IBM HTTP Server 的此发行版提供了 mod_file_cache 模块以与先前发行版兼容,但是,您必须迁移现有配置才能使用 mod_mem_cache 模块,从而确保将来支持 LDAP 配置。这些模块在内存中而不是在磁盘上提供同等功能。
  • IBM HTTP Server 的此发行版提供了 mod_mime_magic 模块以与先前发行版兼容,但是,此模块在将来的发行版中可能不可用。将不会提供此模块的替代品。
  • IBM HTTP Server 的此发行版提供了 mod_proxy_ftp 模块以与先前发行版兼容,但是,此模块在将来的发行版中可能不可用。将不会提供此模块的替代品。
  • mod_cern_meta 模块不受支持。请改为使用 mod_headers 模块。
  • mod_imap 模块已重命名为 mod_imagemap。必须对现有配置文件将 mod_imap 模块的 LoadModule 伪指令更改为引用新的模块名称。
  • 对于 mod_backtrace 和 mod_whatkilledus 诊断模块,必须将 EnableExceptionHook 伪指令值设置为 On
  • 对于 mod_mem_cache 模块,可以将 McacheMinObjectSize 伪指令值设置为最小值 1。在先前发行版中,最小值为零。
  • mod_deflate 模块的 Compression_Level 伪指令已重命名为 DeflateCompressionLevel。
  • mod_ldap 和 mod_auth_ldap 模块的配置已更改。请参阅下面有关从 mod_ldap 和 mod_auth_ldap 模块配置进行迁移的过程。
  • Apache mod_example 源代码安装在 <ihsinst>/example_module 目录中。
  • 现在,AddOutputFilterByType 伪指令适用于代理请求。
  • 现在,mod_autoindex 模块创建的目录列表具有缺省字符集,可以使用 IndexOptions 伪指令修改此字符集。如果您依赖浏览器的字符集检测功能以正确显示目录列表,那么可能需要使用 IndexOptions 伪指令来指定正确的字符集。
[AIX Solaris HP-UX Linux Windows]最佳实践: 如果要将 mod_ibm_ldap 模块用于 LDAP 配置,请考虑迁移 mod_ibm_ldap 伪指令以使用 mod_ldap 模块。IBM HTTP Server 的此发行版提供了 mod_ibm_ldap 模块以与先前发行版兼容,但是,您必须迁移现有配置才能使用 mod_authnz_ldap 和 mod_ldap 模块,从而确保将来支持 LDAP 配置。

下表包含 IBM HTTP Server 所支持的 Apache 模块的列表。

表 1. Apache 模块. 此表列示 Apache 模块、模块简要描述以及用于获取模块详细描述的 Web 地址。
模块 描述 Web 地址
core 核心 Apache HTTP Server 功能部件 http://publib.boulder.ibm.com/httpserv/manual24/mod/core.html
[Windows]mpm_winnt 多处理模块 (MPM) http://publib.boulder.ibm.com/httpserv/manual24/mod/mpm_winnt.html
[AIX][HP-UX][Linux][Solaris]mod_worker MPM http://publib.boulder.ibm.com/httpserv/manual24/mod/worker.html
[z/OS]mod_event MPM http://publib.boulder.ibm.com/httpserv/manual24/mod/event.html
mod_actions 根据介质类型或请求方法,允许执行 CGI 脚本。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_actions.html
mod_alias 允许映射文档树中主机文件系统的不同部分,并允许进行 URL 重定向。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_actions.html
mod_asis 发送文件,这些文件包含其自己的 HTTP 头。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_asis.html
mod_auth_basic 基本认证 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_auth_basic.html
mod_authn_anon 允许匿名用户访问已认证的区域。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authn_anon.html
mod_authn_dbm 使用 DBM 文件的用户认证。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authn_dbm.html
mod_authn_default 认证回退模块  
mod_authn_file 使用文本文件的用户认证 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authn_file.html
mod_authnz_ldap 允许使用 LDAP 目录来存储用于 HTTP 基本认证的数据库。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authnz_ldap.html
mod_authz_dbm 使用 DBM 文件的组授权。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authz_dbm.html
mod_authz_default 授权回退模块  
mod_authz_groupfile 使用文本文件的组授权 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authz_groupfile.html
mod_authz_host 基于主机(例如,主机名或 IP 地址)的组授权 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authz_host.html
mod_authz_user 用户授权 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_authz_user.html
mod_autoindex 自动生成目录索引。这类似于 UNIX 平台上的 ls 命令或 Win32 dir shell 命令。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_autoindex.html
mod_cache 使用基于 URI 的密钥的内容高速缓存 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_cache.html
mod_cache_disk 实现基于磁盘的存储管理器。它主要是与 mod_cache 配合使用。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_cache_disk.html
mod_cgi 执行 CGI 脚本 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_cgi.html
[AIX][HP-UX][Linux][Solaris]mod_cgid 使用外部 CGI 守护程序执行 CGI 脚本。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_cgid.html
[z/OS]mod_charset_lite 指定字符集转换或记录。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_charset_lite.html
[AIX Solaris HP-UX Linux Windows]mod_dav 分布式创作和版本控制 (WebDAV) 功能。
[z/OS]提示: 虽然不支持 mod_dav 和 mod_dav_fs,但是 IBM HTTP Server 和 WebSphere® 插件仍可以将 WebDAV 请求传递到 WebSphere。
http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_dav.html
[AIX Solaris HP-UX Linux Windows]mod_dav_fs mod_dav 的文件系统提供程序。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_dav_fs.html
mod_deflate 在将内容交付到客户机之前对其进行压缩。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_deflate.html
mod_dir 允许进行“尾随斜杠”重定向并提供目录索引文件。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_dir.html
mod_env 修改传递到 CGI 脚本和 SSI 页面的环境。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_env.html
mod_expires 根据用户指定的条件,生成“到期”HTTP 头和“高速缓存控制”HTTP 头。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_expires.html
mod_ext_filter 在将响应主体传送到客户机之前,通过外部程序来传递响应主体。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_ext_filter.html
[AIX Solaris HP-UX Linux Windows]mod_file_cache 将静态的文件列表高速缓存在内存中。此发行版提供了此模块以与先前发行版兼容。请开始使用 mod_mem_cache 或 mod_cache,以确保与 IBM HTTP Server 的将来发行版兼容。
提示: 建议用于文件处理的高速缓存机制是 mod_cache 模块的 CacheEnable 功能部件。
http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_file_cache.html
mod_filter 指定上下文相关的智能过滤器配置模块。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_filter.html
mod_ibm_ssl IBM HTTP Server 的安全套接字层 (SSL) 和传输层安全性 (TLS) 协议支持。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_ibm_ssl.html
mod_headers 定制 HTTP 请求和响应头。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_headers.html
mod_imagemap 服务器端图像映射处理。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_imagemap.html
mod_include 服务器解析的 HTML 文档(服务器端包含)。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_include.html
mod_info 提供服务器配置的全面概述。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_info.html
mod_ldap 提供 LDAP 连接汇聚服务和结果高速缓存服务以供其他 LDAP 模块使用。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_ldap.html
mod_log_config 记录向服务器发出的请求。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_log_config.html
mod_logio 记录每个请求的输入和输出字节数。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_logio.html
mod_mem_cache 使用基于 URI 的密钥的内容高速缓存。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_mem_cache.html
mod_mime 使请求的文件扩展名与文件的行为(处理程序和过滤器)和内容(MIME 类型、语言、字符集和编码)相关联。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_mime.html
mod_mpmstats IBM HTTP Server 的 MPM/线程监视模块。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_mpmstats.html
[AIX Solaris HP-UX Linux Windows]mod_mime_magic 通过查看文件内容的一些字节来确定文件的 MIME 类型。IBM HTTP Server 的此发行版提供了此模块以与先前发行版兼容,但是,此模块在将来的发行版中不会受支持。将不会提供此模块的替代品。
要点: 使用 mod_mime_magic 会降低性能,因为必须读取文件并将其与一组模式进行比较以确定内容类型。
http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_mime_magic.html
[z/OS]mod_mvsds 处理 MVS (z/OS) 数据集 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_mvsds.html
mod_negotiation 允许进行内容协商。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_negotiation.html
mod_proxy HTTP 1.1 代理和网关服务器 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_proxy.html
mod_proxy_connect 指定用于处理 CONNECT 请求的 mod_proxy 模块扩展。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_proxy_connect.html
[AIX Solaris HP-UX Linux Windows]mod_proxy_ftp 为 mod_proxy 模块提供 FTP 支持。IBM HTTP Server 的此发行版提供了此模块以与先前发行版兼容,但是,此模块在将来的发行版中不会受支持。将不会提供此模块的替代品。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_proxy_ftp.html
mod_proxy_http 为 mod_proxy 模块提供 HTTP 支持。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_proxy_http.html
mod_rewrite 提供基于规则的重写引擎以重写所请求的 URL。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_rewrite.html
[z/OS]mod_smf 记录 HTTP 请求的 SMF 条目。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_smf.html
mod_setenvif 允许根据请求特征来设置环境变量。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_setenvif.html
mod_so 在启动或重新启动时将可执行代码和模块装入到服务器。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_so.html
mod_speling 通过忽略大小写并最多允许一个拼写错误,尝试更正用户可能已输入的错误 URL。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_speling.html
mod_status 提供有关服务器活动和性能的信息。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_status.html
mod_suexec 允许 CGI 脚本在指定的用户或组的名下运行。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_suexec.html
mod_unique_id 为每个请求提供具有唯一标识的环境变量。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_unique_id.html
mod_userdir 特定于用户的目录。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_userdir.html
mod_usertrack 站点上用户活动的单击流日志记录。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_usertrack.html
mod_vhost_alias 允许动态配置的大量虚拟主管。 http://publib.boulder.ibm.com/httpserv/manual24//mod/mod_vhost_alias.html
[z/OS]mod_wlm 对 HTTP 请求进行 z/OS WLM 分类。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_wlm.html
[z/OS]mod_zos_cmds 此模块允许服务器响应 STOP 和 MODIFY z/OS 控制台命令。 http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_zos_cmds.html

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=ihs-dist&topic=rihs_apachemods
文件名:rihs_apachemods.html