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.
- Configuration files that only support single-byte characters (SBCS) are:
-
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.
- Apache modules included with IBM HTTP Server
View information about Apache modules that are included with IBM HTTP Server. We can use the directives that are defined within the included Apache modules to configure IBM HTTP Server. - Apache programs included with IBM HTTP Server
This section provides information on Apache programs that are included with IBM HTTP Server. These included Apache programs can be used to configure IBM HTTP Server. - Apache APR and APR-util libraries included with IBM HTTP Server
This section provides information about the Apache Portable Runtime (APR) and APR-util libraries that are included with IBM HTTP Server. IBM HTTP Server supports only the APR and APR-util libraries installed with the product. Copies of the libraries cannot be substituted. - Apache MPMs included with IBM HTTP Server
This section provides information about Apache Multi-processing module (MPM) and addressing modes supported by IBM HTTP Server. - IPv4 and IPv6 configuration for Windows operating systems
IBM HTTP Server supports IPv6 on Windows XP and 2003 operating systems. It does not support IPv6 on the Windows 2000 operating system.
Related tasks
- Perform required z/OS system configurations
- Start and stop IBM HTTP Server
- Enable IBM HTTP Server for FastCGI applications
- Manage IBM HTTP Server remotely with the WebSphere Application Server administrative console
- Extending IBM HTTP Server functionality with third-party plug-in modules
- Configure IBM HTTP Server for SMF recording
- Classify HTTP requests for WLM (z/OS operating systems)
Related
- Customizing Apache for Windows operating systems
- Secure Sockets Layer (SSL) directives
- Apache directives