[AIX HP-UX Linux Solaris Windows]This topic applies only on the i5/OS operating system.

Editing Web server configuration files

Edit Web server configuration files to configure a Web server.

Before you begin

[AIX HP-UX Linux Solaris Windows] The Plug-ins installation wizard automatically configures supported Web servers during the installation of the binary plug-in modules. Use this topic to understand how the wizard configures the Web server configuration files.

[AIX HP-UX Linux Solaris Windows] If you must change a configuration for some reason, you can run the Plug-ins installation wizard again to reconfigure the Web server, or you can edit the files. The recommended approach is to always use the Plug-ins installation wizard to configure the Web server configuration file. However, sometimes you must edit the files. An example is when you are installing a Web server definition for a non-default profile.

[AIX HP-UX Linux Solaris Windows] To support a non-default profile, edit the configuration to point the Web server to the correct location of the plug-in configuration file (plugin-cfg.xml). In this case, you would change the profile path from the default profile to the secondary profile.

[iSeries] Use the IBM Web Administration for iSeries to configure i5/OS Web servers to communicate with a WebSphere Application Server. Doing so automatically updates the Web server configuration files as needed. See Creating and configuring an HTTP server instance for more information.

[iSeries] If you must change a configuration for some reason, you can use the IBM Web Administration for iSeries to reconfigure the Web server, or you can edit the files. The recommended approach is to always use the IBM Web Administration for iSeries to configure the Web server configuration file. However, sometimes you must edit the files.

You must determine whether your web server application uses a 32-bit or 64-bit architecture. If your machine supports a 64-bit architecture, you can use either a 32-bit or a 64-bit web server application. The following examples show how to determine which the architecture for your web server application:
  • For Apache-based web servers, including IBM® HTTP Server, you can determine the architecture using the following techniques:
    • [AIX] [HP-UX] [Linux] [Solaris] Run the command:
      apachectl -V | grep Architecture  

      This command displays the Architecture value for the web server, which will be either 32-bit or 64-bit.

    • [Windows] Run the following command from the IBM_HTTP_Server_install_root\bin directory:
      apache -V  

      Look for the value of the Architecture: line in the output. This value is either 32-bit or 64-bit.

  • For other, non-Apache based web servers, use the following techniques. These techniques also work for Apache-based web servers.
    • [AIX] [HP-UX] [Linux] [Solaris] Run the file command against the primary web server application executable file to display its type. For example, run the following command on an AIX® system:
      file /usr/bin/httpd
      This command results in the following output:
      • For a 64-bit web server: httpd: 64-bit XCOFF executable ...
      • For a 32-bit web server: httpd: executable (RISC System/6000)...
      In general, if the output of the file command does not indicate 64 in the output, then the application is 32-bit application.
    • [Windows] Open the Microsoft® Windows® Task Manager when the server is running and locate the server in the process list. A 32-bit application has *32 after its name.

If the web server application uses a 64-bit architecture, the plug-in library should be loaded from the plugin_root/bin/64bit directory. If the web server application uses a 32-bit architecture, the plug-in library should be loaded from the plugin_root/bin/32bits directory. If the plugin_root/bin/64bits directory does not exist, you must use the 32-bit architecture.

About this task

This task points you to information on editing Web server configuration files. Select a link appropriate for your Web server.

Procedure

Results

[AIX HP-UX Linux Solaris Windows] You can use the Plug-ins installation wizard to automatically configure supported Web servers. You can also configure a Web servers by editing its configuration.

[iSeries] You can use the IBM Web Administration for iSeries to configure i5/OS Web servers. You can also configure a Web servers by editing its configuration.

What to do next

[AIX HP-UX Linux Solaris Windows] To continue preparing your e-business network, return to Installing Web server plug-ins.

[iSeries] To continue preparing your e-business network, see Communicating with Web servers.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 1:23:07 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=tins_manualWebServer
File name: tins_manualWebServer.html