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
- Locating 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
- 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:
The forward slash character (/) should be used 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.
![[HP-UX]](../images/hpux.gif)
![[Linux]](../images/linux.gif)
Configure your operating system to allow large log files for the IBM HTTP Server plug-in. You 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, you should
periodically monitor the size of this log file.
gotcha