Configure IBM HTTP Server

To configure the IBM HTTP Server, edit the httpd.conf configuration file. To successfully configure the server, the name of the configuration file must be retained as httpd.conf.


Procedure

  • Locate the default and sample configuration files. The httpd.conf configuration file is in the conf directory of your server installation. There is also an httpd.conf.default file, in case you need to use another copy of the original file.Restriction: To successfully configure the server, the name of the configuration file must be retained as httpd.conf. IBM HTTP Server also provides the following configuration files:

    • admin.conf.default

    • magic.default

    • mime.types.default

  • Open an editor on the configuration file and edit the file as needed.

    Special considerations for IBM HTTP Server. The following items regarding the configuration file should be known when using IBM HTTP Server:

    • Configuration files that only support single-byte characters (SBCS) are:

      • httpd.conf (IBM HTTP Server configuration file)Restriction: To successfully configure the server, the name of the configuration file must be retained as httpd.conf.

      • admin.conf (Administration server configuration file)

    • Use the forward slash character (/) as a path separator in the configuration file, instead of the backward slash character (\).

    • For the z/OSĀ® operating system, IBM HTTP Server expects the characters in the httpd.conf file to be in EBCDIC (code page IBM-1047). Ensure that you edit httpd.conf with an editor that uses the correct code page.

  • Configure your operating system to allow large log files for the IBM HTTP Server plug-in.

    We can configure your operating system to allow the log file for the IBM HTTP Server plug-in to exceed the typical two gigabytes size limit. To enable this functionality, add the USEPLUGINLARGEFILE environment variable to your operating system configuration settings, and set it to true, before you start the IBM HTTP Server. If you do not add this environment variable to your operating system settings, or if you set this environment variable to false, the log file is limited to 2 gigabytes.

    Avoid trouble: Because not limiting the size of the log file might cause storage resources to be exhausted, if you decide to use this environment variable, periodically monitor the size of this log file.


Related tasks


Related