Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)

Chapter 5 143
Internet and Interoperability
Apache for MPE/iX 6.5
3. Trying to telnet to Apache’s port (port 80 if you have not modified the port directive set
in the httpd.conf.sample file)If you cannot telnet to Apache’s port, then your problem
is not with the web server. You are not yet reaching your HP 3000 box. A successful telnet
connection should look something like,
telnet yourserver.com 80
Trying...
Connected to yourserver.com.
Escape character is ‘^]’.
Stopping Apache
Apache is stopped by aborting the Apache job from either the CI or the POSIX shell. Use
SHOWJOB to view the Apache job:
JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME
#J16 EXEC 10S LP TUE 10:27A JHTTPD,WWW.APACHE
:ABORTJOB #J16 or :ABORTJOB JHTTPD,WWW.APACHE
Apache can also be stopped using :ABORTJOB from the POSIX shell
:xeq sh.hpbin.sys -L
shell>callci “abortjob #j16” or shell>callci “abortjob jhttp,www.apache”
Logging
Apache error logging is useful when trying to start Apache as well as for monitoring a
running web server. Apache logs errors into a log file called the error_log by default. This
log file resides in the /APACHE/PUB/logs directory.
The number of messages logged in the error log is set by the LogLevel directive in the
httpd.conf file. Possible values for LogLevel (by increasing significance) are debug, info,
notice, warn, error, crit, alert, emerg. When a particular level is specified, messages from
all other levels of higher significance are reported as well. For example, when LogLevel is
“info”, then messages with log levels of notice, warn, and up to emerg are also posted.
By default, the level is set to warn. Using a level of at least crit is recommended.
Version
The current version of Apache for MPE/iX is based on Apache 1.3.4 from the Apache
Software Foundation. In addition to the http core that is the heart of the Apache code, 28
more Apache modules have been compiled into the web server program for a large feature
set. A full description of each of these modules is included in the on-line manual document
pages.
shell> /APACHE/PUB/HTTPD -v
Server version: Apache/1.3.4 (MPE-1.3.4-v1.0)
Server built: Aug 24 1999 16:11:19
shell> /APACHE/PUB/HTTPD -l
Compiled-in modules:
http_core.c