Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

148 Chapter9
Apache for MPE/iX
Major Components
Major Components
The major components for Apache are the web server program
(HTTPD), the job stream file which runs the HTTPD program (JHTTPD), a
set of configuration files for enabling Apache features, the htdocs
directory containing HTML pages, the logs directory, and the cgi-bin
directory. Apache also comes with a full, on-line manual set.
HTTPD is the Apache web server program. “HTTP” stands for the
protocol used between the client browser and the Apache web server.
“D” stands for daemon, a system program which automatically
handles certain system operations. The HTTPD web server program
intercepts an incoming request from the browser, interprets and
handles the request, then delivers output in the form of an HTML
page to the client.
The HTTPD program file resides in the /APACHE/PUB directory and is
linked with Privilege Mode (PM) capability. Because HTTPD is a
privilege mode program, it must run under an MPE account and
group which both have PM capability. PM is necessary for Apache to
use port numbers less than 1024 (privileged ports). By default,
Apache uses port 80.
JHTTPD is a job stream file which runs the Apache web server as a
standalone process. This file also specifies the system timezone and
the location of the global Apache configuration file, httpd.conf.
JHTTPD resides in the /APACHE/PUB directory.
The configuration files tell the HTTPD server program where to find
files, which files and directories can be accessed, who can access
them, and the location of executable programs on the server. These
files give you the flexibility of having the web server do only what
you want it to do. These files reside in /APACHE/PUB/conf.
The htdocs directory contains the public documents, images, and
data to be served to clients.The htdocs directory and the directories
below it are available to anyone accessing your web server.
The logs directory contains log data of both web server accesses and
of errors.
The cgi-bin directory contains CGI scripts which are executed by
Apache on behalf of its clients.
The bin directory contains a set of scripts and programs contributed
by the Apache Software Foundation. They are included as examples
only and are not supported by HP.
The Apache manual set, residing in
/APACHE/PUB/htdocs/manual, describes the entire Apache
feature set and the syntax definition for configuring these features.