Configuring and Managing MPE/iX Internet Services (July 2001)
Chapter 9 161
Apache for MPE/iX
Feature Set
quite large. Each request to the web server creates one entry in the
access log.
To periodically purge or archive the log files, refer to the section on
“Managing Log Files”.
Product Installation
Earlier versions of Apache for MPE/iX were installed under
PUB.APACHE. Starting with Apache 1.3.14, each Apache version is
installed in its own directory tree under the APACHE account and in a
group named by its MPE/iX version. For example, Apache 1.3.14 has an
MPE/iX version number of A.02.00 (VUUFF) so it resides in
/APACHE/A0200 (/APACHE/VUUFF). The next release of Apache will
reside in /APACHE/A0300 and so on. A version-specific group is created
for each new release of Apache for MPE/iX and all the files for that
release are installed under that group.
The APACHE account and PUB group is still used and file access is still
through the /APACHE/PUB directory. Symbolic links point from files and
directories in PUB.APACHE to their corresponding files and directories in
the version-specific group.
The installation also creates a symlink named CURRENT that points to
the active version-specific group, since the system may contain multiple
version-specific groups, for example (/APACHE/A0200, APACHE/A0300,
etc.). To view which version of Apache is the current version:
shell/iX> ll /APACHE/CURRENT
lrwxrwxrwx 1 MGR.APACHE APACHE 5 Mar 27 20:03 CURRENT -> A0200
The symlinks in PUB.APACHE point indirectly via the CURRENT symlink
into the version-specific group. For instance, the bin directory will point
to the bin directory of the CURRENT version, so that a reference to
/APACHE/PUB/bin/htpassword accesses
/APACHE/A0200/bin/htpasswd.
shell/iX> ll /APACHE/PUB/bin
lrwxrwxrwx 1 MGR.APACHE APACHE 9 Mar 27 20:21 /APACHE/PUB/bin ->
/APACHE/CURRENT/bin
Users should modify or add files below the PUB group and never in the
version-specific group. The version-specific group only contains files
distributed as part of the Apache product. This makes it possible to
remove old releases by simply remove the entire /APACHE/VUUFF
directory. Examples of files that should reside under /APACHE/PUB are
configuration files, the Apache startup job (JHTTPD), documents
served to clients in htdocs/, and cgi scripts.
The installation creates new files or directories under /APACHE/PUB if
needed for operation with a new Apache version.