[AIX Solaris HP-UX Linux Windows][IBM i]

配置 IBM HTTP Server V9.0

可手动配置 IBM HTTP Server V9.0。

开始之前

[IBM i] IBM HTTP Server V9.0IBM® i 上不受支持。

[AIX Solaris HP-UX Linux Windows]插件配置工具 (PCT) 是配置 IBM HTTP Server 以装入 WebSphere Application Server Web 服务器插件的主要方法。

插件配置工具 (PCT) 自动配置 IBM HTTP Server。以下步骤是用于配置 IBM HTTP Server 的手动指令。编辑 Web 服务器配置文件中的其他过程描述其他受支持 Web 服务器的配置方式。

关于此任务

为明晰起见,示例和消息显示为多行。在 Web 服务器配置文件中,将每条伪指令显示为一行。

产品安装路径只是示例。

[AIX Solaris HP-UX Linux Windows]Web 服务器插件配置工具 (PCT) 在安装期间会安装虚拟 plugin-cfg.xml 文件,但此文件需要通过应用程序服务器上的实际文件定期传播。

过程

  1. 通过确定 Web 服务器体系结构来确定要装入的正确 Web 服务器插件模块(通常,在 Windows 上为 32 位,在其他系统上为 64 位)。
    [AIX][HP-UX][Linux][Solaris]
    /opt/IBM/HTTPServer/bin/versionInfo.sh | grep Architecture
    [Windows]
    c:\IBM\HTTPServer\bin\versionInfo.bat | findstr Architecture
  2. 通过将以下行追加至 httpd.conf 文件并记录该路径中指定的体系结构来装入 Web 服务器插件。 [AIX][Linux][Solaris]
    LoadModule 
         was_ap24_module /opt/IBM/WebSphere/Plugins/bin/<arch>/mod_was_ap24_http.so
    [HP-UX]
    LoadModule 
         was_ap22_module /opt/IBM/WebSphere/Plugins/bin/<arch>/mod_was_ap24_http.sl
    [Windows]
    LoadModule was_ap24_module
         c:/IBM/WebSphere/Plugins/bin/<arch>/mod_was_ap24_http.dll

    在这些示例中,<arch>32bits64bits(取决于 Web 服务器体系结构)。

  3. 创建必需目录并复制临时配置文件。 [AIX][Solaris][HP-UX][Linux]
          mkdir -p  /opt/IBM/WebSphere/Plugins/{logs,config}/webserver1          
          cp /opt/IBM/WebSphere/Plugins/etc/plugin-key* /opt/IBM/WebSphere/Plugins/config/webserver1/          
          cp /opt/IBM/WebSphere/Plugins/config/templates/plugin-cfg.xml /opt/IBM/WebSphere/Plugins/config/webserver1/
    [Windows]
          mkdir c:\IBM\WebSphere\Plugins\logs\webserver1          
          mkdir c:\IBM\WebSphere\Plugins\config\webserver1          
          copy c:\IBM\WebSphere\Plugins\etc\plugin-key* c:\IBM\WebSphere\Plugins\config\webserver1\          
          copy c:\IBM\WebSphere\Plugins\config\templates\plugin-cfg.xml c:\IBM\WebSphere\Plugins\config\webserver1\
  4. 向应用程序服务器注册 Web 服务器。

    为使 plugin-cfg.xml 配置文件有用,该文件必须由应用程序服务器环境生成以反映所配置服务器和所部署应用程序。可在 Deployment Manager 或独立应用程序服务器上的管理控制台中创建定义。请参阅 Web 服务器定义

    注册后,管理控制台可生成 plugin-cfg.xml 文件并传播至 Web 服务器以替换初始 plugin-cfg.xml 文件。

    有关与 WebSphere Liberty 配合使用的 Web 服务器,请参阅为 Liberty 配置 Web 服务器插件

  5. 将另一伪指令附加至 httpd.conf 文件以标识 plugin-cfg.xml 文件的路径。
    • 远程 web 服务器(未与任何 WebSphere 管理进程并置)或与 WebSphere Liberty 配合使用的 Web 服务器:
      WebSpherePluginConfig /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml
    • 已向独立传统应用程序服务器注册的 Web 服务器:
      WebSpherePluginConfig profile_root/standalone/config/cells/standalone/nodes/standalone/servers/webserver1/plugin-cfg.xml
    • 已向并置 Deployment Manager 注册的 Web 服务器:
      WebSpherePluginConfig profile_root/config/cells/<var>dmgrcell</var>/nodes/managednode/servers/webserver1/plugin-cfg.xml

结果

此过程导致编辑并重新配置 IBM HTTP Server。

下一步做什么

如果 mod_was_ap24_http 插件配置为支持与后端 WebSphere Application Server 的加密连接,那么该插件模块需要 GSKIT 安全套接字层 (SSL) 加密库。

如果未安装所需级别的 GSKIT SSL 加密库,那么安装 Web 服务器插件时将安装此加密库。如果手动将插件复制到新工作站,那么您可能没有用于加密后端连接的必需 GSKIT 库。

配置 Web 服务器后,可在其上安装应用程序。有关更多信息,请参阅信息中心的“应用程序”部分。

提示: 要取消配置 Web 服务器,请反向执行手动步骤并移除本过程中手动添加的内容。

指示主题类型的图标 任务主题



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